Showing referenced nodes

This commit is contained in:
Luis Fernando Molina committed 2020-04-06 12:08:05 +02:00
1 parent 02dce15cf5
commit 157b9b0238
5 files changed
+61 -8

No files matched your search

@@ -19,6 +19,10 @@ function newReferenceAttachDetach () {
}
function completeDetachment (node) {
if (node.payload.referenceParent.payload !== undefined && node.payload.referenceParent.payload.uiObject !== undefined) {
node.payload.referenceParent.payload.uiObject.isShowing = false
}
node.payload.referenceParent = undefined
if (node.savedPayload !== undefined) {
node.savedPayload.referenceParent = undefined