Merge branch 'visject-improvements-6' of git://github.com/stefnotch/FlaxEngine into stefnotch-visject-improvements-6
This commit is contained in:
@@ -39,6 +39,7 @@ namespace FlaxEditor.Surface
|
||||
private GroupArchetype _customNodesGroup;
|
||||
private List<NodeArchetype> _customNodes;
|
||||
private Action _onSave;
|
||||
private int _selectedConnectionIndex;
|
||||
|
||||
internal int _isUpdatingBoxTypes;
|
||||
|
||||
@@ -362,6 +363,8 @@ namespace FlaxEditor.Surface
|
||||
Context.ControlSpawned += OnSurfaceControlSpawned;
|
||||
Context.ControlDeleted += OnSurfaceControlDeleted;
|
||||
|
||||
SelectionChanged += () => { _selectedConnectionIndex = 0; };
|
||||
|
||||
// Init drag handlers
|
||||
DragHandlers.Add(_dragAssets = new DragAssets<DragDropEventArgs>(ValidateDragItem));
|
||||
DragHandlers.Add(_dragParameters = new DragNames<DragDropEventArgs>(SurfaceParameter.DragPrefix, ValidateDragParameter));
|
||||
|
||||
Reference in New Issue
Block a user