Concept of current values removed

This commit is contained in:
Luis Fernando Molina committed 2020-02-06 09:27:55 +01:00
1 parent b55c22d8bb
commit 2f4de2d497
3 files changed
+1 -34

No files matched your search

-14
View File
@@ -384,7 +384,6 @@ function newTimeMachine () {
function physics () {
saveFrame(thisObject.payload, thisObject.container.frame)
if (thisObject.container.frame.isInViewPort()) {
thisObjectPhysics()
childrenPhysics()
syncWithDesigner()
}
@@ -490,19 +489,6 @@ function newTimeMachine () {
}
}
function thisObjectPhysics () {
/* Screen Corner Date Calculation */
let point = {
x: 0,
y: 0
}
let cornerDate = getDateFromPoint(point, thisObject.container, timeMachineCoordinateSystem)
cornerDate = new Date(cornerDate)
window.localStorage.setItem('Date @ Screen Corner', cornerDate.toUTCString())
}
function childrenPhysics () {
if (thisObject.timeScale !== undefined) {
thisObject.timeScale.physics()