From ad8290ebcbe901856371345b2a82bac73e2355b3 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Wed, 20 Jul 2016 11:30:49 +0100 Subject: [PATCH] Validate nodes on import after any references have been remapped --- editor/js/nodes.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/editor/js/nodes.js b/editor/js/nodes.js index aa4d3bc4e..32085802c 100644 --- a/editor/js/nodes.js +++ b/editor/js/nodes.js @@ -912,6 +912,10 @@ RED.nodes = (function() { return (otherNode && otherNode.z === activeWorkspace) }); } + + // With all properties now remapped to point at valid nodes, + // we can validate the node + RED.editor.validateNode(n); } for (i=0;i