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

85 Commits

Author SHA1 Message Date
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
dabd55cf49 Context menu limited to graph background and node headers 2017-11-19 22:38:05 +01:00
Thor Kramer Brigsted
60bece4e68 Removed F for "Home" hotkey. It was fighting with text inputs. 2017-11-09 22:02:08 +01:00
Thor Kramer Brigsted
455bb723d2 Improved editor responsiveness
No longer saves asset on right click drag
2017-11-07 09:45:34 +01:00
Thor Brigsted
9784bebd88 Added null check 2017-11-05 23:54:53 +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
8eff75fa7f Bug fixes 2017-11-02 16:17:28 +01:00
Thor Kramer Brigsted
4c6c10f15b Fixed incorrect position checking while zoomed 2017-10-26 13:33:55 +02:00
Thor Kramer Brigsted
ac4fb1efd9 Added editor onUpdateNode callback on Connect/Disconnect 2017-10-26 12:40:34 +02:00
Thor
9db84d1608 Replaced node Rect rect with node Vector2 position. Improved node hover check. 2017-10-19 15:15:34 +02:00
Thor Brigsted
23a3e0e732 Node hover update 2017-10-16 21:48:23 +02:00
Thor Brigsted
bb15a8fdd3 Improved handling of invalid connections 2017-10-15 18:27:29 +02:00
Thor Brigsted
5e68b6bcdc Big update.
Removal of scripts now also clears dependant nodes, to avoid null objects.
NodePorts now support fallback values.
UI Changes.
node.graph is now serialized as well.
2017-10-14 16:19:24 +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
9abdf2995e Added Node Editor entry in Preferences. Custom colors for value types can now be assigned 2017-10-14 08:33:46 +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
698f02d716 Serialization now works. Node.cs is now a ScriptableObject. 2017-10-07 01:54:10 +02:00
Thor Brigsted
5f4da093f3 Fixed node headers 2017-10-01 21:53:29 +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
63808eb6a2 Removed GetInput and GetOutput and made inputs and outputs public 2017-09-27 22:45:28 +02:00
Thor Brigsted
2b0cf61435 Removed more JSON serialization
Also changed Rect "position" to Rect "rect"
2017-09-27 22:33:01 +02:00
Thor
0e6eb55143 UI stylistic changes 2017-09-26 14:31:05 +02:00
Unknown
e40161684c Added colors to connections 2017-09-25 18:51:51 +02:00
Unknown
c66ac47ea9 Changed NodePort UI styling 2017-09-23 00:26:38 +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
372099b03d Minor bugfixes and cleanup
Changed:
 - Private fields with [Serializable] attributes are now also shown
 - Nodes can now only be dragged by the title
 - Output text alignment
Fixed:
 - NodeEditorWindow fields not resetting to null
 - Field editors
2017-09-21 18:15:40 +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
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