This commit is contained in:
Luis Fernando Molina committed 2021-10-11 12:38:47 +02:00
1 parent d632491d65
commit 45aa5f3dca
4 files changed
+8 -8

No files matched your search

@@ -142,9 +142,9 @@ function newTimeMachine() {
function initialize(callBackFunction) {
timeFrame = INITIAL_TIME_PERIOD
UI.projects.foundations.utilities.loadSaveFrame.loadFrame(thisObject.payload, thisObject.container.frame)
UI.projects.visualScripting.utilities.loadSaveFrame.loadFrame(thisObject.payload, thisObject.container.frame)
setInitialPosition()
UI.projects.foundations.utilities.loadSaveFrame.saveFrame(thisObject.payload, thisObject.container.frame)
UI.projects.visualScripting.utilities.loadSaveFrame.saveFrame(thisObject.payload, thisObject.container.frame)
recalculateCoordinateSystem()
recalculateCurrentDatetime()
@@ -430,7 +430,7 @@ function newTimeMachine() {
thisObject.edgeEditor.physics()
timeMachineCoordinateSystem.physics()
UI.projects.foundations.utilities.loadSaveFrame.saveFrame(thisObject.payload, thisObject.container.frame)
UI.projects.visualScripting.utilities.loadSaveFrame.saveFrame(thisObject.payload, thisObject.container.frame)
if (thisObject.container.frame.isInViewPort()) {
childrenPhysics()
syncWithDesigner()
@@ -89,7 +89,7 @@ function newViewport() {
y: 0
}
}
UI.projects.foundations.utilities.loadSaveFrame.loadFrame(thisObject.payload, frame)
UI.projects.visualScripting.utilities.loadSaveFrame.loadFrame(thisObject.payload, frame)
if (!isNaN(frame.position.x)) {
position.x = frame.position.x
}
@@ -180,7 +180,7 @@ function newViewport() {
/* Save the position at the frame lavel */
let frame = {}
frame.position = position
UI.projects.foundations.utilities.loadSaveFrame.saveFrame(thisObject.payload, frame)
UI.projects.visualScripting.utilities.loadSaveFrame.saveFrame(thisObject.payload, frame)
}
function animationPhysics() {
@@ -82,7 +82,7 @@ function newLayersPanel() {
}
thisObject.container.frame.position = position
UI.projects.foundations.utilities.loadSaveFrame.loadFrame(thisObject.payload, thisObject.container.frame)
UI.projects.visualScripting.utilities.loadSaveFrame.loadFrame(thisObject.payload, thisObject.container.frame)
thisObject.upDownButton = newUpDownButton()
thisObject.upDownButton.parentContainer = thisObject.container
@@ -386,7 +386,7 @@ function newLayersPanel() {
thisObject.upDownButton.physics()
thisObject.leftRightButton.physics()
UI.projects.foundations.utilities.loadSaveFrame.saveFrame(thisObject.payload, thisObject.container.frame)
UI.projects.visualScripting.utilities.loadSaveFrame.saveFrame(thisObject.payload, thisObject.container.frame)
syncWithConfigPhysics()
/*
@@ -906,7 +906,7 @@ function newVisualScritingFunctionLibraryUiObjectsFromNodes() {
frame.width = node.savedPayload.frame.width
frame.height = node.savedPayload.frame.height
frame.radius = node.savedPayload.frame.radius
UI.projects.foundations.utilities.loadSaveFrame.saveFrame(payload, frame)
UI.projects.visualScripting.utilities.loadSaveFrame.saveFrame(payload, frame)
}
if (node.savedPayload.tutorial !== undefined) {
let tutorial = {