File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Assets/com.alelievr.NodeGraphProcessor/Editor/Views Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -137,11 +137,11 @@ public override void Disconnect(Edge edge)
137137 if ( ! ( edge as EdgeView ) . isConnected )
138138 return ;
139139
140- var inputNode = ( edge . input as PortView ) . owner ;
141- var outputNode = ( edge . output as PortView ) . owner ;
140+ var inputNode = ( edge . input as PortView ) ? . owner ;
141+ var outputNode = ( edge . output as PortView ) ? . owner ;
142142
143- inputNode . OnPortDisconnected ( edge . input as PortView ) ;
144- outputNode . OnPortDisconnected ( edge . output as PortView ) ;
143+ inputNode ? . OnPortDisconnected ( edge . input as PortView ) ;
144+ outputNode ? . OnPortDisconnected ( edge . output as PortView ) ;
145145
146146 edges . Remove ( edge as EdgeView ) ;
147147 }
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
99### Fixed
1010- Fixed fields with [ Settings] attribute not showing up with inheritance.
1111- Fixed selection still active when selecting nodes without inspector fields.
12+ - Fixed multi-selection drag and drop of edges.
1213
1314### Changed
1415- Fields with both attributes [ SerializeField] and [ ShowInInspector] are now visible in both the node and inspector.
You can’t perform that action at this time.
0 commit comments