From d7715b05eed715ed15b5a37f228281e3e7c260df Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Tue, 17 May 2016 09:39:18 +0100 Subject: [PATCH] Ensure catch/status/link node references update on import --- editor/js/nodes.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/editor/js/nodes.js b/editor/js/nodes.js index 72053e549..07245222b 100644 --- a/editor/js/nodes.js +++ b/editor/js/nodes.js @@ -863,6 +863,16 @@ RED.nodes = (function() { } } } + // TODO: make this a part of the node definition so it doesn't have to + // be hardcoded here + var nodeTypeArrayReferences = { + "catch":"scope", + "status":"scope", + "link in":"links", + "link out":"links" + } + + // Remap all wires and config node references for (i=0;i