Jeroen van de Haterd
76dcbb94c6
Fixed Begin- & EndZoomed to allow usage multiple times in one frame
...
Updated comment selecting code for better ux
2019-01-11 09:39:27 +01:00
Jeroen van de Haterd
4730f6a0df
Added comments
2019-01-10 21:15:23 +01:00
Thor Brigsted
5b11e81027
Move context menu functions around to allow more customization ( #87 )
...
Moved NodeEditorWindow.ShowNodeContextMenu to NodeEditor.AddContextMenuItems
Moved NodeEditorWindow.ShowGraphContextMenu to NodeGraphEditor.AddContextMenuItems
Moved NodeEditorWindow.CreateNode to NodeGraphEditor.CreateNode
2018-12-15 12:40:16 +01:00
Simon Rodriguez
6c1af6f4cd
Fix/error on duplicate ( #82 )
...
* Pressing CTRL+D (duplicate) threw editorgui exception "Getting control 0s position in a group with only 3 controls when doing ValidateCommand".
comparing to https://github.com/Unity-Technologies/UnityCsReference/blob/master/Editor/Mono/SceneHierarchyWindow.cs : row 211, the proper use of the event was not made.
also fixed spelling of Dublicate to Duplicate.
* Braces on wrong lines.
* Something got wrong with the comments.
2018-12-10 23:33:25 +01:00
Thor Brigsted
6979333eb1
Added [NodeEnum] which fixes enum positions.
...
#28
2018-11-11 22:39:32 +01:00
Thor Brigsted
e9c6b6f221
Removed middleman function
2018-10-27 19:57:13 +02:00
Thor Brigsted
16992c3972
Added NodeEditor.GetBodyStyle, allowing per-node body styles
2018-10-27 18:41:13 +02:00
Thor Brigsted
f5856f7911
Fixed #66 Minor bug with noodle
2018-10-06 01:34:34 +02:00
Thor Brigsted
ff97cc4494
Switched Dict.ContainsKey out with Dict.TryGetValue for performance gain.
2018-09-09 18:25:41 +02:00
-rava
2f4ef6f5c3
Modify node culling to use node dimensions directly instead of (slowly) fetching NodeEditor first.
2018-08-30 05:05:43 +03:00
Thor Brigsted
a71cf4961d
Small performance improvement. Nodes are now automatically marked dirty when changed.
2018-06-24 17:43:07 +02:00
Thor Brigsted
9c6fb74064
Fixed automatic caching and drawing noodles when intentionally hiding ports
2018-06-14 22:56:14 +02:00
Thor Brigsted
704730e59d
Minor corrections
...
Instance ports now show value for tooltip
Edited comment
2018-06-10 21:17:17 +02:00
Thor Brigsted
3f405e318a
Remove console spam
2018-05-23 10:58:36 +02:00
Thor Brigsted
f04629a120
Added experimental node culling for performance boost
2018-05-22 16:25:21 +02:00
Thor Brigsted
61ca00ce31
Renamed GetNodePath to GetNodeMenuName (consistency)
...
Empty menuNames now skips, just like null does
2018-05-13 12:18:16 +02:00
Thor Brigsted
75795c59b0
Added F2 to rename hotkey (return on mac)
2018-04-18 12:57:12 +02:00
Thor Brigsted
2582d5aaf3
Added option to disable autosave in preferences
2018-04-13 10:46:51 +02:00
Thor Brigsted
9f09452b43
Improved reroute point size, rendering, and enabled deletion of selected points
2018-04-12 09:27:50 +02:00
Thor Brigsted
bab898e489
Exposed virtual OnGUI() and 'position' for graph editors
2018-04-10 22:59:32 +02:00
Thor Brigsted
19e244212c
Added NodeRename #11
2018-04-05 20:59:50 +02:00
Thor Brigsted
3e68635735
Finished Reroutes
2018-04-01 21:42:44 +02:00
Thor Brigsted
34e195e33d
Visual representation in DrawConnections
2018-04-01 02:15:47 +02:00
Thor Brigsted
941189a4d6
Started work on Reroute nodes
2018-03-31 19:01:36 +02:00
Thor Brigsted
1fff90cbf2
Added 'Clear Connections' right-click option for NodePorts
2018-03-28 00:55:53 +02:00
Thor Brigsted
219c93557d
Tooltip now shows value from GetValue instead of field variable
2018-03-22 23:25:51 +01:00
Thor Brigsted
63b51aaa10
Added more preferences control
...
Preferences can now be saved with a custom key, and custom default settings can be specified.
Other changes:
XNodeInternal renamed to XNodeEditor.Internal
NodeEditorWindow.graphEditor exposed as public
2018-01-30 12:27:17 +01:00
Thor Brigsted
ae2b8f1d38
Added noodle settings
2018-01-27 00:43:24 +01:00
Thor Brigsted
cf348d495b
Fixed issue #15
2018-01-25 16:28:16 +01:00
Thor Brigsted
6758a1a7c4
Fixed box selection not working correctly when zoomed
2018-01-25 12:42:35 +01:00
Thor Brigsted
14c4d0b691
Added color settings for selection outlines
2018-01-25 10:43:03 +01:00
Thor Brigsted
d871b7bec4
Added node box selection
2018-01-24 12:23:12 +01:00
Thor Brigsted
5d113de554
Added multinode selection
2018-01-22 18:06:50 +01:00
Thor Kramer Brigsted
6e649dcc24
Automatically relink renamed Node scripts
2018-01-08 14:34:54 +01:00
Thor
66de07e1a7
More strongly typed namespaces to prevent import conflicts
2017-12-18 10:37:02 +01:00
Thor Brigsted
d7e133a822
Defined namespaces across all scripts prevent conflicts.
2017-12-02 09:56:41 +01:00
Thor Kramer Brigsted
aabd2e4145
Added NodeGraphEditor.GetTypeColor for custom node-graph specific type colors
2017-11-28 10:49:24 +01:00
Thor Kramer Brigsted
9e68617cb8
Added NodeGraphEditor.GetNodePath
...
You now have more control over which nodes get displayed in the context menu, and how they are displayed
2017-11-28 10:17:21 +01:00
Thor Kramer Brigsted
869bd6a76d
Reordered node context menu
2017-11-28 09:41:38 +01:00
Thor Kramer Brigsted
d1d2f9766c
Added null check
2017-11-27 09:46:14 +01:00
Thor Kramer Brigsted
43df6ef75b
Added GetSecondaryGridTexture
2017-11-27 09:41:47 +01:00
Thor Kramer Brigsted
e7f759497b
NodeGraphEditor work continued
2017-11-27 09:29:07 +01:00
Thor Kramer Brigsted
710692a326
Added virtual NodeEdutor.GetTint()
2017-11-23 10:06:57 +01:00
Thor Kramer Brigsted
4ea25f6aee
Initial NodeGraphEditor implementation
2017-11-22 14:54:06 +01:00
Thor Kramer Brigsted
dcff69979c
Moved NodeEditorGUI.TypeToString to NodeEditorUtilities.PrettyName
...
Improved custom type color handling
Removed default color overrides
2017-11-21 13:21:34 +01:00
Thor Kramer Brigsted
5f161b80e7
Added grid snap and color settings.
2017-11-21 12:53:56 +01:00
Thor Kramer Brigsted
566a64b31f
Added preferences shortcut to graph context menu
2017-11-20 15:45:30 +01:00
Thor Brigsted
8bfe09dfb7
Added Duplicate and Move To Top to node context menu
2017-11-20 00:54:04 +01:00
Thor Brigsted
69c2b254aa
Added [ContextMenu] support
2017-11-20 00:11:17 +01:00
Thor Brigsted
dabd55cf49
Context menu limited to graph background and node headers
2017-11-19 22:38:05 +01:00