From 10ceed30c6e37bc06ae01d00aeec04c55117e4ce Mon Sep 17 00:00:00 2001 From: Thiago Bustamante Date: Fri, 3 Nov 2017 11:34:41 -0200 Subject: [PATCH] Fix #1456 When importing new nodes, it is necessary to check the 'exclusive' flag --- editor/js/nodes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/js/nodes.js b/editor/js/nodes.js index 2cd2f62fc..0c1f0590a 100644 --- a/editor/js/nodes.js +++ b/editor/js/nodes.js @@ -872,7 +872,7 @@ RED.nodes = (function() { } - if (!existingConfigNode) { //} || !compareNodes(existingConfigNode,n,true) || existingConfigNode._def.exclusive || existingConfigNode.z !== n.z) { + if (!existingConfigNode || existingConfigNode._def.exclusive) { //} || !compareNodes(existingConfigNode,n,true) || existingConfigNode.z !== n.z) { configNode = {id:n.id, z:n.z, type:n.type, users:[], _config:{}}; for (d in def.defaults) { if (def.defaults.hasOwnProperty(d)) {