Adsitoz
3ba0b13c77
Zoom System Fixes ( #155 )
...
- Due to the OnGUI method being called last to draw over everything else in the window, the GUI.Group being created in the new zoom system was also moving around the GUI elements created in the NodeGraphEditor OnGUI method.
2019-06-18 11:34:23 +02:00
Thor Brigsted
c350c135ca
Improved handling of null sub assets
...
Thanks to Lenny#3404 from the discord channel
2019-06-17 20:11:29 +02:00
Thor Brigsted
369a3fd6ea
Update CONTRIBUTING.md
2019-06-17 09:26:35 +02:00
Thor Brigsted
53bba68ae0
Update README.md
...
Removed third party project links. They can now be found on the wiki home page instead
2019-06-13 22:13:11 +02:00
thiezar
29f0194eef
Allow current assembly nodes to be cached ( #153 )
2019-06-13 20:17:58 +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
Michael Wigley
8b0eb6bb60
#144 Added option to disable tooltips
1.7
2019-06-08 21:01:45 +02:00
Thor Brigsted
53f85a5d22
Improved zoom with the help of Jeroenimoo0's PR
2019-06-08 14:25:07 +02:00
Thor Brigsted
0c1ae4881d
Fixed #147 - Adding dynamic port using "+" causes exception
2019-06-08 01:41:58 +02:00
Adsitoz
4721edc7ec
Fixed rename not saving the filename change. ( #149 )
...
- AssetDataBase.ImportAsset was not correctly renaming the asset. Changed it over to use the standard rename method.
2019-06-07 20:04:19 +02:00
Simon Rodriguez
833e26ccc3
Make RemoveNode + switch order
...
* made RemoveNode function virtual
used for example when a graph wants to block a delete
* switched order of remove function and destroy function.
target.RemoveNode was always getting a null value
2019-05-13 20:53:34 +02:00
Thor Brigsted
8a03811ee3
More DynamicPortList debug messages
2019-05-13 14:26:29 +02:00
Simon Rodriguez
c868c037ea
Fixed #99 - Color for types in preferences will reseted after playing
...
* SavePrefs was saving to the wrong key.
* A dictionary cant be changed while being enumerated.
Now clones the keys and gets/sets values.
2019-05-13 10:23:54 +02:00
Thor Brigsted
d68aea2a8a
Fixed #142 - New feature: Automatically remove "Node" postfix in names
2019-05-10 09:55:10 +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
91151b327a
Bugfix: Calling base.OnBodyGUI after drawing ports would make noodles disappear
2019-05-09 00:02:58 +02:00
Thor Brigsted
d7f5bd2a1a
Added obsolete methods to help with upgrading
...
Relating the Instance port > dynamic port change
2019-05-06 17:54:43 +02:00
Thor Brigsted
c3e85a9f82
UPGRADE NOTICE: Renamed 'instance ports' to 'dynamic ports'.
...
To upgrade, simply rename all your method calls involving instance ports eg. 'AddInstanceOutput' to the dynamic port equivalent eg. 'AddDynamicOutput'
There is no functional difference. The community just agreed this was a more fitting name for the feature.
2019-05-05 10:52:36 +02:00
Thor Brigsted
65162d553e
Marked NodeGraph.OnDestroy virtual
2019-05-05 10:28:47 +02:00
Thor Brigsted
eb164225c8
Fixed #134 - Marked some more methods as virtual
2019-04-15 00:02:52 +02:00
Thor Brigsted
4cf7113740
Improved noodle tangents ( #136 )
2019-04-14 19:01:26 +02:00
Woland
7eaa15af4a
NodeEditorReflection: Catch ReflectionTypeLoadException ( #131 )
...
* NodeEditorReflection: Catch ReflectionTypeLoadException
Can happen if dll can not be loaded for some reason
* Removed unnecessary editor precompile tags
2019-04-14 03:21:29 +02:00
Thor Brigsted
1e603747d5
Merge pull request #133 from vvoland/gitignore-meta
...
gitignore: Ignore meta files in main directory
2019-04-11 23:09:06 +02:00
Woland
32fa3d7c9f
gitignore: Ignore meta files for git dot files
2019-04-11 12:27:56 +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
f6e0e3bc4d
Added NodeGraphEditor.GetPortColor
2019-04-03 21:50:29 +02:00
Robin Neal
d8a4a41a8f
Open non-persistent graphs on double-click ( #126 )
2019-04-03 20:39:21 +02:00
Thor Brigsted
af0523db2d
Fixed #124 - Errors on DynamicPortList with >10 items
...
Was using OrderBy(x => x.fieldName). The resulting order would then be 1, 10, 11, .. , 2, 3, 4, etc.
Fixed by parsing the indices as ints, and ordering by that value instead
2019-04-01 19:16:54 +02:00
Mert Kırımgeri
2f4adadb72
Zoom out limit feature ( #122 )
...
Zoom out limit added
2019-03-20 10:42:47 +01:00
Thor Brigsted
4263e45b24
Rework node renaming
...
Renaming now happens on a separate popup.
2019-03-08 19:50:31 +01:00
Thor Brigsted
01d7f782e4
Fixed issues relating to InstancePortList
2019-03-04 19:04:00 +01:00
Thor Brigsted
6783324018
Fix drawing instance twice for instanceportlists
2019-03-04 18:29:43 +01:00
Thor Brigsted
29acbf6348
Update README.md
2019-03-03 00:51:06 +01:00
Thor Brigsted
2939fe4935
Added automatic drawing of instance ports
...
Fixed minor issue getting parentType twice
2019-03-02 11:53:54 +01:00
Sergi Tortosa Ortiz-Villajos
43038cfcc1
Support inherited attributes ( #116 )
2019-02-19 22:50:45 +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
c306701853
.Net 2.0 compatability
2019-02-17 12:39:25 +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
Simon Rodriguez
662e919aaa
Renaming node to nothing ( #112 )
...
When the name is empty or just whitespaces, it reverts to the original node type name
2019-02-17 11:57:17 +01:00
Thor Brigsted
f6404e9d9d
Unity 5.3 support
1.6
2019-02-17 03:18:49 +01:00
Thor Brigsted
9875f8d4f0
Merge branch 'master' of git@github.com:Siccity/xNode.git
2019-02-17 02:00:26 +01:00
Thor Brigsted
57d3a03a91
Removed GetHashCode override.
...
This should improve performance, but has previously caused a slew of bugs.
Bugtest thoroughly before merging
2019-02-16 12:21:21 +01:00
Thor Brigsted
3a8ae366f2
Fixed #103
...
Similar issue as #100
GetField was not returning private fields. The method now not only looks for private fields, but also fields inside inherited classes
2019-02-16 03:06:25 +01:00
Thor Brigsted
71defcbdd5
Implemented typeConstraint in InputAttribute
2019-02-16 02:36:42 +01:00
Thor Brigsted
84e2af7916
Cleanup
...
Postfixed attribute classes with Attribute
Added Attributes region
2019-02-16 01:32:52 +01:00
Thor Brigsted
973f9beb1d
Added support for new SettingsProvider system #109
2019-02-16 01:22:05 +01:00
Thor Brigsted
d0104f2420
Update README.md
2019-02-15 09:05:33 +01:00
Thor Brigsted
cda19862e5
Update CONTRIBUTING.md
2019-02-15 08:22:35 +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