1
0
mirror of https://github.com/Siccity/xNode.git synced 2026-03-26 22:49:02 +08:00

389 Commits

Author SHA1 Message Date
Icarus
5d2259608e !TX(Code format) 2019-12-23 23:29:28 +08:00
Icarus
f7251ee02a Merge remote-tracking branch 'remotes/Siccity/master' into Cabin_Icarus 2019-12-21 21:05:49 +08:00
Icarus
2fb21d0f89 !TX Coding conventions 2019-12-21 21:01:04 +08:00
Icarus
10636cd243 !T(Port) remove baseType 2019-12-21 20:47:59 +08:00
Icarus
7624d4ad1f !OA(Menu Popup Window) Move to MenuPopup folder 2019-12-21 20:47:18 +08:00
Andrei
5005b5e4f9 Made NodeGraphiEditor's OnGui method virtual and protected, so it can be extended by adding additional content/widgets to be drawn. (#214) 2019-12-15 11:52:22 +01:00
Icarus
c0b80b59da !B(Create Node) pos error 2019-12-09 15:51:47 +08:00
Icarus
7e4e4b6f8e !TX 2019-12-09 14:06:55 +08:00
Icarus
f77183cca3 Sync Siccity https://github.com/Siccity/xNode
# Conflicts:
#	Scripts/Editor/NodeEditor.cs
#	Scripts/Editor/NodeEditorAction.cs
#	Scripts/Editor/NodeEditorPreferences.cs
2019-12-09 14:02:28 +08:00
Icarus
210cb33105 !B(Node Editor Window) multi open NullPointerException 2019-12-09 13:42:02 +08:00
Icarus
cf59838dd0 !O 2019-12-09 11:11:47 +08:00
Icarus
cf6cddeae5 !BO(Menu Tree View) 可能会出现多个相同菜单,删除了OnFocus 2019-12-09 11:11:31 +08:00
Icarus
a749defa24 !TX 2019-12-08 22:15:34 +08:00
Icarus
eb7c9098e9 !R(Dynamic Port List) 顺序改变,这次重写应该再也不会出现未知的错误=-= 2019-12-08 21:04:50 +08:00
Icarus
fe313be5ee !B NullReferenceException 2019-12-04 10:33:49 +08:00
Icarus
15ef25888c !TX 2019-12-03 22:30:35 +08:00
Icarus
62133630de !TX remove todo 2019-12-03 20:57:00 +08:00
Icarus
84c1e9e14d !TX todo 2019-12-03 18:42:38 +08:00
Icarus
32e375e3da !W(Node Editor GUI Layout) LabelAttribute logic 2019-12-02 17:59:42 +08:00
Icarus
e04b4fc989 !W(Node Editor GUILayout) DynamicPortList Add OnAdd Action 2019-12-01 21:11:11 +08:00
Icarus
efbab70191 !WF(Node Editor) OnFocus Trigger OnInit 2019-12-01 21:09:58 +08:00
Icarus
ae9429fa3e !TX 2019-11-29 18:28:25 +08:00
Icarus
25053eaa2c !WO(Node Editor Window) Multi Open Support 2019-11-29 18:19:55 +08:00
Icarus
2c45dd4d66 !O(NodeEditorGUILayout) DynamicPortList 2019-11-29 18:18:50 +08:00
Icarus
5b8a751aaf Merge branch 'Cabin_Icarus' of https://github.com/yika-aixi/xNode into Cabin_Icarus 2019-11-28 03:48:44 +08:00
Icarus
413f4e2f52 !O(Dynamic Port List) 默认实现存在潜规则,删除了潜规则 2019-11-28 03:48:25 +08:00
Icarus
1fece9c7c5 !T(Node Editor Window Action) 右键Node恢复为GenericMenu 2019-11-28 03:45:36 +08:00
Icarus
0893d3b310 !W 一个关闭所有Node Editor Window窗口的菜单项 2019-11-27 10:31:03 +08:00
Icarus
2b21b0ddc6 !B 端口连接后,没有释放连接线 2019-11-26 18:53:25 +08:00
Icarus
1691e4ce21 !W 2019-11-26 17:45:34 +08:00
Icarus
cfb4d2cb54 !W GenericMenu改为MenuPopupWindow 2019-11-26 17:44:48 +08:00
Icarus
02f59984a0 !B 节点选择窗口无法关闭 2019-11-26 17:43:54 +08:00
Icarus
284ecddc50 !T 加一个最小尺寸 2019-11-26 17:42:57 +08:00
Icarus
07217505e6 !W 搜索时按下键切换焦点到TreeView 2019-11-26 17:42:30 +08:00
Icarus
eb3d24ff1d !W 右键添加节点的方式从GenericMenu改为PopupWindow,目前有个小bug,点出线后,右键本来应该是取消线的选择状态,但目前无法,后续在解决,问题不大=-= 2019-11-24 04:56:46 +08:00
Fernando Molon Toigo
d54a03988a Added virtual GetBodyHighlightStyle (#197) 2019-11-23 01:47:39 +01:00
Thor Brigsted
30b825ff1c
Merge pull request #207 from nostek/feature/masterfix
Optimize GC allocations in NodeEditorWindow
2019-11-14 18:22:49 +01:00
Thor Brigsted
4edcc3f099 Fixed formatting, fixed dashed stroke style 2019-11-14 17:40:09 +01:00
Simon Rodriguez
ec9c5a99de optimized linq function 2019-11-13 01:14:09 +01:00
Simon Rodriguez
71023e1d58 microoptimization, removes implicit case from vec2 to vec3. 2019-11-13 00:14:29 +01:00
Simon Rodriguez
91eafcc47d the + and * was creating a lot of new vector2s, went down 80% in call time with this 2019-11-13 00:10:45 +01:00
Simon Rodriguez
92ebd59539 reuse the list of grid points instead of creating a new one for each node->port 2019-11-12 23:19:51 +01:00
Simon Rodriguez
8b99a34a63 The in parameter was is available in C# 7.2 and later. This breaks compatibility with earlier versions. 2019-11-12 23:05:33 +01:00
Simon Rodriguez
72ff273b5c Rewrite that caches the ordered property attributes so the gui layout drawer can draw them in the correct order.
Rewrote how the property attributes are drawn, more compact less messy code.
2019-11-12 22:37:29 +01:00
Simon Rodriguez
984fe730c0 Added support for [Header] attribute 2019-11-08 09:57:54 +01:00
Marco Secchi
be0d452d12 Fix wrong override message. (#204) 2019-11-06 11:53:13 +01:00
Wang Cong
2d1a671b71 Undo support (#199)
Added undo support for move, create, duplicate and delete node, and connect port
2019-11-06 11:42:22 +01:00
Simon Rodriguez
7cd3077ff0 Duplicating a empty selection makes linq throw exception
InvalidOperationException: Sequence contains no elements
System.Linq.Enumerable.Aggregate[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`3[T1,T2,TResult] func) (at <fbb5ed17eb6e46c680000f8910ebb50c>:0)
2019-11-05 10:52:04 +01:00
apkd
e15076b34f Use Vector2 in bezier calculations 2019-10-27 16:37:31 +01:00
apkd
455107aabb Optimize NodeEditorGUI.DrawNoodle 2019-10-27 16:30:05 +01:00