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

48 Commits

Author SHA1 Message Date
chrisfairc
a8daac60b0
Add a dragthreshold to better distunguish right clicks and right drags (#230)
* add a drag threshold so right clicks are better distinguished from right drags especially on large screens

* ignore mac files too

* dont use less than 1 as a drag threshold

Co-authored-by: Chris Fairclough <chris@zulleon.com>
2020-05-27 08:20:20 +02:00
Romain Théry
c298b5ee53
Add virtual OnWindowFocus and OnWindowFocusLost in NodeGraphEditor(#253) 2020-04-23 15:08:43 +02:00
Jeff Campbell
11b7f4ac44 Added NRE check for ValidateGraphEditor
* Added NRE check to prevent exception when NodeGraphEditor.GetEditor returns null and an existing non-null graph editor is already present.
2020-03-07 21:30:46 +01:00
Thor Brigsted
5597e565d1 Added focus selected node 2019-12-23 13:56:49 +01:00
Thor Brigsted
891ecebc3f Put NodeEditorReflection into its own static class 2019-07-24 10:04:05 +02:00
Thor Brigsted
29a05cba28 Fixed #143 - Added minZoom to preferences
Also renamed zoomOutLimit to maxZoom
2019-05-10 09:05:48 +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
Robin Neal
d8a4a41a8f Open non-persistent graphs on double-click (#126) 2019-04-03 20:39:21 +02:00
Mert Kırımgeri
2f4adadb72 Zoom out limit feature (#122)
Zoom out limit added
2019-03-20 10:42:47 +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
Thor Brigsted
6d0ce544c9 Small formatting changes and comments 2018-07-27 14:30:59 +02:00
Paul
ea14f27a23 Fixed missing connections after serialization/deserialization 2018-07-27 14:07:13 +03:00
Thor Brigsted
f04629a120 Added experimental node culling for performance boost 2018-05-22 16:25:21 +02:00
Thor Brigsted
8f658d2762 Fixed error on graph open
Error introduced in commit 2582d5aaf3cac7c769ee21cde7de449bee353e6f
Caused by trying to get settings in OnFocus, before the graph is ready
2018-05-14 09:26:31 +02:00
Thor Brigsted
a78d7258ca Fixed NullRefException on open graph 2018-04-13 10:51:44 +02:00
Thor Brigsted
2582d5aaf3 Added option to disable autosave in preferences 2018-04-13 10:46:51 +02:00
Thor Brigsted
941189a4d6 Started work on Reroute nodes 2018-03-31 19:01:36 +02:00
Thor Brigsted
4e7d844ae5 Fixed minor multiselect bug 2018-01-22 18:10:52 +01:00
Thor Brigsted
5d113de554 Added multinode selection 2018-01-22 18:06:50 +01:00
Thor Brigsted
83b8a693e3 Node graphs now open in same window instead of a new one. 2017-12-29 12:12: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
5f161b80e7 Added grid snap and color settings. 2017-11-21 12:53:56 +01:00
Thor Brigsted
a1dd3bb9df Changed window name to xNode 2017-11-06 01:12:49 +01:00
Thor Brigsted
c6a4735c71 Renamed to xNode
Added XNode and XNodeEDitor namespaces
Removed unnecessary usings
2017-11-05 23:42:31 +01:00
Thor Kramer Brigsted
432ce05bb5 Fixed dynamic node width.
Fixed field widths.
2017-11-03 10:11:07 +01:00
Thor Kramer Brigsted
4c6c10f15b Fixed incorrect position checking while zoomed 2017-10-26 13:33:55 +02:00
Thor Brigsted
427dc8d53c Added NodeEditorGUILayout static class. Improved int, float, double, long editor fields. 2017-10-14 10:47:16 +02:00
Thor Brigsted
64282028aa Code FixFormat
None of the code was changed, just moved around.
2017-10-14 08:37:33 +02:00
Thor Brigsted
ac6e75668b NodeGraph changes should now be saving correctly. Needs improvemend.
Also improved layout of Color and AnimationCurve
2017-10-08 13:36:54 +02:00
Thor Brigsted
6a92f18618 Connections now draw under port handles
Modulized code. Too many minor changes to address
2017-09-30 22:27:01 +02:00
Thor Brigsted
f8a0bb8f7c Started work on NodeGraphExample 2017-09-27 23:41:01 +02:00
Thor Brigsted
2b0cf61435 Removed more JSON serialization
Also changed Rect "position" to Rect "rect"
2017-09-27 22:33:01 +02:00
Unknown
c66ac47ea9 Changed NodePort UI styling 2017-09-23 00:26:38 +02:00
Thor Brigsted
f00b957e04 Removed NodeGraphAsset. Made NodeGraph into a ScriptableObject
Runtime serialization will have to wait.
2017-09-22 13:41:09 +02:00
Thor Brigsted
638e784ca9 Added custom context menu path in attribute
Created NodeEditorUtilities
Renamed 'RightClickContextMenu' to 'ShowContextMenu'
Excluded abstract classes from nodeTypes and nodeEditorTypes
2017-09-22 12:19:21 +02:00
Thor Brigsted
3c206b03df Can now save NodeGraph as asset via NodeGraphAsset 2017-09-21 21:30:12 +02:00
Thor Brigsted
72cd983f7b Automatically resize nodes to match contents 2017-09-21 18:56:05 +02:00
Thor Brigsted
846f7f30b1 Exposed fields and custom editors 2017-09-21 13:22:34 +02:00
Thor Brigsted
b7543df012 Serialized connections
Nodes now also have a reference to their NodeGraph
2017-09-21 10:54:49 +02:00
Thor Brigsted
1606c583f9 Basic serialization 2017-09-20 23:04:49 +02:00
Thor Brigsted
d3f0d96954 Cleaned up 2017-09-20 20:25:21 +02:00
Thor Brigsted
f9152bf891 Editor core complete
Removed NodeConnection.cs: Node ports now operate by crossreferencing eachother
Changed from separate static classes to partial class
Removed UNEC Namespace
Added live hover info
2017-09-20 17:22:23 +02:00
Unknown
2a6341728b Connections can now be dragged, not created. 2017-09-20 00:47:29 +02:00
Unknown
36ecfde3fe Connections, Ports 2017-09-19 00:15:17 +02:00
Unknown
10a56513df Base node manipulation finished
Zoom
Node Add / Remove
Node Drag
2017-09-18 13:10:29 +02:00
Thor Brigsted
5f0a776350 Started work on node graphs 2017-09-15 15:56:17 +02:00
Thor Brigsted
23c1d87988 Basic grid background 2017-09-15 00:46:21 +02:00