diff --git a/Projects/Foundations/UI/Spaces/Floating-Space/UiObject.js b/Projects/Foundations/UI/Spaces/Floating-Space/UiObject.js index 16f89505d..1930c374d 100644 --- a/Projects/Foundations/UI/Spaces/Floating-Space/UiObject.js +++ b/Projects/Foundations/UI/Spaces/Floating-Space/UiObject.js @@ -585,7 +585,7 @@ function newUiObject() { let THRESHOLD = 1.15 if (ratio > THRESHOLD) { - UI.projects.foundations.spaces.designSpace.workspace.executeAction({ node: thisObject.payload.node, name: 'Parent Detach', project: 'Foundations' }) + UI.projects.foundations.spaces.designSpace.workspace.executeAction({ node: thisObject.payload.node, name: 'Parent Detach', project: 'Visual-Scripting' }) } } @@ -692,7 +692,7 @@ function newUiObject() { let THRESHOLD = 1.15 if (ratio > THRESHOLD) { - UI.projects.foundations.spaces.designSpace.workspace.executeAction({ node: thisObject.payload.node, name: 'Reference Detach', project: 'Foundations' }) + UI.projects.foundations.spaces.designSpace.workspace.executeAction({ node: thisObject.payload.node, name: 'Reference Detach', project: 'Visual-Scripting' }) } } @@ -1387,14 +1387,14 @@ function newUiObject() { function onDragFinished(event) { if (isChainAttaching === true) { - UI.projects.foundations.spaces.designSpace.workspace.executeAction({ node: thisObject.payload.node, name: 'Parent Attach', project: 'Foundations', relatedNode: chainAttachToNode }) + UI.projects.foundations.spaces.designSpace.workspace.executeAction({ node: thisObject.payload.node, name: 'Parent Attach', project: 'Visual-Scripting', relatedNode: chainAttachToNode }) chainAttachToNode = undefined isChainAttaching = false /* We want to avoid the situation in which we are attaching a node to its parent and at the same time referencing another node. */ isReferenceAttaching = false } if (isReferenceAttaching === true) { - UI.projects.foundations.spaces.designSpace.workspace.executeAction({ node: thisObject.payload.node, name: 'Reference Attach', project: 'Foundations', relatedNode: referenceAttachToNode }) + UI.projects.foundations.spaces.designSpace.workspace.executeAction({ node: thisObject.payload.node, name: 'Reference Attach', project: 'Visual-Scripting', relatedNode: referenceAttachToNode }) referenceAttachToNode = undefined isReferenceAttaching = false } diff --git a/Projects/Foundations/UI/Spaces/Floating-Space/UiObjectConstructor.js b/Projects/Foundations/UI/Spaces/Floating-Space/UiObjectConstructor.js index 9691df923..c7f8e9a88 100644 --- a/Projects/Foundations/UI/Spaces/Floating-Space/UiObjectConstructor.js +++ b/Projects/Foundations/UI/Spaces/Floating-Space/UiObjectConstructor.js @@ -322,7 +322,7 @@ function newUiObjectConstructor() { { action: 'Backup', actionFunction: floatingObject.payload.executeAction, - actionProject: 'Foundations', + actionProject: 'Visual-Scripting', label: undefined, visible: true, iconPathOn: 'backup-entity', @@ -337,7 +337,7 @@ function newUiObjectConstructor() { { action: 'Clone', actionFunction: floatingObject.payload.executeAction, - actionProject: 'Foundations', + actionProject: 'Visual-Scripting', label: undefined, visible: true, iconPathOn: 'clone-entity', @@ -353,7 +353,7 @@ function newUiObjectConstructor() { { action: 'Share', actionFunction: floatingObject.payload.executeAction, - actionProject: 'Foundations', + actionProject: 'Visual-Scripting', label: undefined, visible: true, iconPathOn: 'share-entity', @@ -403,7 +403,7 @@ function newUiObjectConstructor() { askConfirmation: true, confirmationLabel: "Confirm to Detach", actionFunction: floatingObject.payload.executeAction, - actionProject: 'Foundations', + actionProject: 'Visual-Scripting', label: undefined, visible: true, iconPathOn: 'detach-node', @@ -420,7 +420,7 @@ function newUiObjectConstructor() { askConfirmation: true, confirmationLabel: "Confirm to Detach", actionFunction: floatingObject.payload.executeAction, - actionProject: 'Foundations', + actionProject: 'Visual-Scripting', label: undefined, visible: true, iconPathOn: 'delink-node',