Simon Rodriguez
ba3c8bdac0
This function releases the focus of text fields and dropdowns.
2018-06-20 11:21:55 +02:00
Thor Brigsted
51bb98b4d1
Merge pull request #44 from Orcolom/fix/plugins
...
Fix for plugins bug #38
2018-06-18 22:32:24 +02:00
Joram
4bfb6c4b8b
optimized dll caching
2018-06-18 20:52:58 +02:00
Joram
0331bde4e1
Plugin folder get recognized as seperate dll
2018-06-18 19:31:44 +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
Simon Rodriguez
c015b6ec4b
Added attribute NodeWidth.
...
Changes the width used when rendering the node in the editor.
2018-06-17 14:16:13 +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
dc9b11c5a3
Added NodeEditorGUILayout.InstancePortList.
...
Use it to draw lists of instance ports easily.
2018-06-10 21:16:18 +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
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
7a1726b342
Fixed commenting
2018-05-13 13:29:12 +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
97ec4bbf42
Improved warning message
2018-05-12 14:40:23 +02:00
Thor Brigsted
75795c59b0
Added F2 to rename hotkey (return on mac)
2018-04-18 12:57:12 +02:00
Thor Brigsted
69ee12169d
Destroy nodes on graph destruction #30
2018-04-14 22:49:16 +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
9f09452b43
Improved reroute point size, rendering, and enabled deletion of selected points
2018-04-12 09:27:50 +02:00
Thor Brigsted
d721249b83
Merge branch 'master' of github.com:Siccity/xNode
2018-04-10 22:59:41 +02:00
Thor Brigsted
bab898e489
Exposed virtual OnGUI() and 'position' for graph editors
2018-04-10 22:59:32 +02:00
Thor Brigsted
ba8b9ef447
Removed unused dictionary
2018-04-10 22:57:25 +02:00
Thor Brigsted
9ce5496b62
Fixed IndexOutOfRangeException issue #29
2018-04-09 09:38:09 +02:00
Thor Brigsted
588fc0d80a
Fix potential error when copying a NodeGraph with null nodes
2018-04-07 18:47:28 +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
85d15871ca
Merge branch 'reroute_development'
2018-04-01 21:43:03 +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
0132c16448
Fixed deselect out of range exception
2018-04-01 01:06:06 +02:00
Thor Brigsted
3d7dbbc7e2
Fix error on deleting script during compilation
2018-04-01 00:15:25 +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
6d6a6abd9e
Added support for usage from a DLL #23
2018-03-25 12:51:02 +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
ed2edab72f
Added F for "Home" hotkey
2018-03-21 22:00:28 +01:00
Thor Brigsted
14af49468e
Merge branch 'master' of https://github.com/Siccity/xNode.git
2018-02-19 17:15:58 +01:00
Thor Brigsted
5ef958f298
Added c# script templates
...
Create > xNode > Node/NodeGraph
2018-02-19 17:09:59 +01:00
Thor Brigsted
2a951a3002
Fixed Connection returning null when non-nulls exist.
2018-02-09 14:29:18 +01:00
Thor Brigsted
b787b57eb3
Revert "Minor performance improvement (cachine serialized objects)"
...
This reverts commit dba4cd18429d0d2800d7391708f96da037ba8ce9.
2018-02-07 18:17:37 +01:00
Thor Brigsted
71cde080b6
Revert "Performance improvement. (removed unnecessary override)"
...
This reverts commit 51e77a227956dd043b6a6b7b19ef440a10518909.
2018-02-05 03:12:50 +01:00
Thor Brigsted
682dccdd9d
Changed NodeEditorGUILayout labels to use dynamic output GUIStyle based on EditorStyles.label
...
This will make it easier to change node text color
Example:
[CustomNodeEditor(typeof(MyNode))]
public class MyNodeEditor : NodeEditor {
private static GUIStyle editorLabelStyle;
public override void OnBodyGUI() {
if (editorLabelStyle == null) editorLabelStyle = new GUIStyle(EditorStyles.label);
EditorStyles.label.normal.textColor = Color.green;
base.OnBodyGUI();
EditorStyles.label.normal = editorLabelStyle.normal;
}
}
2018-02-05 02:07:22 +01:00
Thor Brigsted
57b4287613
Fixed ctrl+d duplicate
2018-02-03 11:56:20 +01:00
Thor Brigsted
1b2f94607e
Fixed NullRefEx when trying to disconnect a null NodePort
2018-02-02 12:29:19 +01:00
Thor Brigsted
51e77a2279
Performance improvement. (removed unnecessary override)
2018-01-30 20:31:31 +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
ae2b8f1d38
Added noodle settings
2018-01-27 00:43:24 +01:00