bug fixed

This commit is contained in:
Luis Fernando Molina committed 2020-03-07 19:39:42 +01:00
1 parent 1b1175938d
commit f9b89acb27
1 file changed
+2
+2
View File
@@ -314,6 +314,7 @@ function newLayersPanel () {
function physics () {
if (isInitialized === false) { return }
if (thisObject.payload.node === undefined) { return }
mouseOverPhysics()
thisObject.panelTabButton.physics()
@@ -344,6 +345,7 @@ function newLayersPanel () {
calculateVisbleLayers()
function syncWithDesignerLayers () {
if (thisObject.payload.node === undefined) { return }
let layerManager = thisObject.payload.node
for (let p = 0; p < layerManager.layers.length; p++) {
let layerNode = layerManager.layers[p]