This commit is contained in:
tamat
2020-04-08 17:14:32 +02:00
parent 99e1d85f4f
commit 28c0eec6c2
5 changed files with 627 additions and 819 deletions

View File

@@ -4583,14 +4583,12 @@ LGraphNode.prototype.executeAction = function(action)
return;
}
/*
if(this.graph)
this.graph.canvas = null; //remove old graph link to the canvas
this.graph = graph;
if(this.graph)
this.graph.canvas = this;
*/
graph.attachCanvas(this);
//remove the graph stack in case a subgraph was open
if (this._graph_stack)
this._graph_stack = null;
this.setDirty(true, true);
};