1
0
mirror of https://github.com/Siccity/xNode.git synced 2025-12-20 09:16:01 +08:00

94 Commits

Author SHA1 Message Date
MowfaqAlarbi
5433e36837 Show Node Create list When Dragging To Nothing (#183)
And a user setting to disable it, of course
2019-09-06 19:13:00 +02:00
Simon Rodriguez
c16ad1fff0 Added functionality that focuses on selected nodes. (#173)
Resets view if no nodes are selected.
2019-09-03 22:18:30 +02:00
Thor Brigsted
ba48e32a22 Moved RerouteReference to own script 2019-08-04 22:25:51 +02:00
Thor Brigsted
bb847a3044 Moved IsMac to NodeEditorUtilities 2019-07-24 10:25:29 +02:00
William Henry
9b239c3564 Added Drop event to Node Graph (#157)
Override NodeGraphEditor.OnDropObjects to deal with items dropped into the graph through DragAndDrop
2019-06-29 00:04:39 +02:00
Simon Rodriguez
56e84b7c92 Changed so CopySelectedNodes uses the same Linq-select as DuplicateSelectedNodes does. 2019-06-18 22:17:56 +02:00
Thor Brigsted
6c38439e84 Built DuplicateSelectedNodes and PasteNodes together 2019-06-18 22:00:31 +02:00
Simon Rodriguez
fefea30594 Added support for copy paste in menu and ctrl+c / ctrl+v / cmd+c / cmd+v. 2019-06-13 18:36:40 +02:00
Thor Brigsted
4cf7113740
Improved noodle tangents (#136) 2019-04-14 19:01:26 +02:00
Thor Brigsted
8adc4fd459 Fixed #128, #127, #64 - Added NodeEditorBase.OnCreate, OnGraphEditor.OnOpen, and NodeEditorBase.window 2019-04-06 13:27:44 +02:00
Thor Brigsted
4263e45b24 Rework node renaming
Renaming now happens on a separate popup.
2019-03-08 19:50:31 +01:00
NoiseCrime
5acb7e4ba8 UI Sharpness complete fix (#115)
Complete fix to address bluriness of the UI in the Node Editor Window. Previous fixes were not all encompassing and failed to account for now even dimensions of Editor Window.
2019-02-18 13:28:35 +01:00
Simon Rodriguez
8cb647734a EditorGUI.FocusTextInControl(null) sets editingTextField to true even if null is being sent in. (#113)
Then the editor won't listen to keyboard input.
2019-02-17 12:00:11 +01:00
Thor Brigsted
f6404e9d9d Unity 5.3 support 2019-02-17 03:18:49 +01:00
Thor Brigsted
71defcbdd5 Implemented typeConstraint in InputAttribute 2019-02-16 02:36:42 +01:00
Thor Brigsted
2dfe6d3a91 Fixed formatting 2019-02-13 21:06:56 +01:00
NoiseCrime
0f5539e077 Support for DoubleClick on node to center it.
Added support for double clciking on Node header to center that node within the editor window.
2019-02-13 16:17:25 +00:00
Thor Brigsted
3ced922ce6 Add zoomToMouse setting in preferences 2018-12-23 10:21:03 +01:00
Patrik Lindberg
e6530d87d6 Zooming is now centered around the mouse position. 2018-12-21 11:48:09 +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
Simon Rodriguez
58d32bfd85 OSX does not dispatch SoftDelete (tested on mbp no external keyboard), only Delete. 2018-09-27 21:54:10 +02:00
Thor Brigsted
ff97cc4494 Switched Dict.ContainsKey out with Dict.TryGetValue for performance gain. 2018-09-09 18:25:41 +02:00
Thor Brigsted
cc72e44895 Fixed reroute point snap centering 2018-08-27 11:29:34 +02:00
Paul
cf48e8ec85 Fixed a bug that occured when begining to drag a reroute would move the reroute point -8 -8 no matter what 2018-07-27 18:36:57 +03:00
Thor Brigsted
f65d4a2dd7 Removed offsetting reroute points with output node. Reroute points should only move if dragged. 2018-07-27 14:33:59 +02:00
Thor Brigsted
6d0ce544c9 Small formatting changes and comments 2018-07-27 14:30:59 +02:00
Paul
ad5a8dfc25 Fix laggy connections 2018-07-27 13:25:07 +03:00
Thor Brigsted
6ee12afc84 Fixed not marking moved nodes as dirty 2018-06-24 23:38:19 +02:00
Thor Brigsted
4b274df205
Merge pull request #47 from nostek/bugfix/losefocus
This function releases the focus of text fields and dropdowns.
2018-06-20 12:18:21 +02:00
Simon Rodriguez
ba3c8bdac0 This function releases the focus of text fields and dropdowns. 2018-06-20 11:21:55 +02:00
Simon Rodriguez
efa44d2637 Panning was kept active if you used the middle button(button2) for panning. 2018-06-20 11:15:28 +02:00
Simon Rodriguez
1731f8161f Changed from .ToString() to .Name that omits the namespace from the name. 2018-06-18 15:28:56 +02:00
Thor Brigsted
f04629a120 Added experimental node culling for performance boost 2018-05-22 16:25:21 +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
9ce5496b62 Fixed IndexOutOfRangeException issue #29 2018-04-09 09:38:09 +02:00
Thor Brigsted
1885d453a4 Removed #if UNITY_EDITOR from NodeGraph.cs #23 2018-04-05 21:53:03 +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
0132c16448 Fixed deselect out of range exception 2018-04-01 01:06:06 +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
ed2edab72f Added F for "Home" hotkey 2018-03-21 22:00:28 +01:00
Thor Brigsted
57b4287613 Fixed ctrl+d duplicate 2018-02-03 11:56:20 +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
2b529d8da3 Assimilated formatting 2018-01-30 08:56:35 +01:00
Vladan
e89f3a6e75 try ctrl modify grid snap 2018-01-30 01:12:01 +01:00
Thor Brigsted
5b79757667 Fixed issue #12 2018-01-26 17:58:48 +01:00