We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e1723d commit 86276a3Copy full SHA for 86276a3
Assets/com.alelievr.NodeGraphProcessor/Editor/Views/BaseGraphView.cs
@@ -321,10 +321,11 @@ int GetPriority(GraphElement e)
321
case EdgeView edge:
322
Disconnect(edge);
323
return true;
324
- case BaseNodeView node:
325
- ExceptionToLog.Call(() => node.OnRemoved());
326
- graph.RemoveNode(node.nodeTarget);
327
- RemoveElement(node);
+ case BaseNodeView nodeView:
+ nodeInspector.NodeViewRemoved(nodeView);
+ ExceptionToLog.Call(() => nodeView.OnRemoved());
+ graph.RemoveNode(nodeView.nodeTarget);
328
+ RemoveElement(nodeView);
329
if (Selection.activeObject == nodeInspector)
330
UpdateNodeInspectorSelection();
331
0 commit comments