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

197 Commits

Author SHA1 Message Date
Thor Brigsted
ba8b9ef447 Removed unused dictionary 2018-04-10 22:57:25 +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
Thor Brigsted
dba4cd1842 Minor performance improvement (cachine serialized objects) 2018-01-26 18:26:56 +01:00
Thor Brigsted
5b79757667 Fixed issue #12 2018-01-26 17:58:48 +01:00
Thor Brigsted
73172a1c48 Fixed outOfSync bug in ClearInstancePorts 2018-01-26 12:16:11 +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
9dc5653f27 Simplified editor preferences handling.
This update will reset your xnode editor preferences
2018-01-25 10:27:55 +01:00
Thor Brigsted
5ae1b16f14 Made type color preferences more intuitive 2018-01-25 00:49:17 +01:00
Thor Brigsted
d871b7bec4 Added node box selection 2018-01-24 12:23:12 +01:00
Thor Brigsted
f87af8d62f Changed node selection to only react on header clicks 2018-01-24 09:44:55 +01:00
Thor Brigsted
a09cda1827 Block clicks from registering through node headers 2018-01-23 18:08:39 +01:00
Thor Brigsted
51746307b1 Documentation corrections 2018-01-23 12:32:59 +01: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
fcbd48b0be Improved error message 2018-01-22 01:19:23 +01:00
Thor Brigsted
2651bfbeb5 Increase crispyness of UI text 2018-01-21 23:55:55 +01:00
Thor Brigsted
55fb7586d8 Register ConnectionType changes and update existing static NodePorts 2018-01-21 22:45:20 +01:00
Thor Brigsted
aa54950611
Fixed minor bug (error message) 2018-01-21 11:20:23 +01:00
Thor Brigsted
f7637abcc3 Allow dragging view with middle mouse button 2018-01-09 01:41:23 +01:00
Thor Brigsted
08582d9536
Merge branch 'master' into master 2018-01-09 01:23:31 +01:00
Thor Kramer Brigsted
6e649dcc24 Automatically relink renamed Node scripts 2018-01-08 14:34:54 +01:00
Thor Brigsted
0c6466f0b6 Documentation 2018-01-07 23:32:16 +01:00
Joram
477c5b16a0 added port setting 2018-01-03 18:35:02 +01:00