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)
137
137
if ( ! ( edge as EdgeView ) . isConnected )
138
138
return ;
139
139
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 ;
142
142
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 ) ;
145
145
146
146
edges . Remove ( edge as EdgeView ) ;
147
147
}
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.
9
9
### Fixed
10
10
- Fixed fields with [ Settings] attribute not showing up with inheritance.
11
11
- Fixed selection still active when selecting nodes without inspector fields.
12
+ - Fixed multi-selection drag and drop of edges.
12
13
13
14
### Changed
14
15
- 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