From 2df3a569b4985c02a9b1fceb195a82b3e023b608 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Fri, 8 Oct 2021 11:25:35 +0200 Subject: [PATCH] DeepScan Bug Fix --- .../UI/Function-Libraries/ReferenceAttachDetach.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Projects/Foundations/UI/Function-Libraries/ReferenceAttachDetach.js b/Projects/Foundations/UI/Function-Libraries/ReferenceAttachDetach.js index 1842d2068..30c48db0e 100644 --- a/Projects/Foundations/UI/Function-Libraries/ReferenceAttachDetach.js +++ b/Projects/Foundations/UI/Function-Libraries/ReferenceAttachDetach.js @@ -36,11 +36,10 @@ function newFoundationsFunctionLibraryReferenceAttachDetach() { function cleanAttachNodePath(node) { if (node === undefined) { return } if (node.payload === undefined) { return } - if (node.payload !== undefined) { - node.payload.referenceParentCombinedNodePath = undefined - if (node.savedPayload !== undefined) { - node.savedPayload.referenceParentCombinedNodePath = undefined - } + + node.payload.referenceParentCombinedNodePath = undefined + if (node.savedPayload !== undefined) { + node.savedPayload.referenceParentCombinedNodePath = undefined } }