Selaa lähdekoodia

Merge branch 'dev' of http://192.168.0.115:3000/bill/fuse-code into dev

bill 2 vuotta sitten
vanhempi
commit
73610f5d64
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/sdk/cover/index.js

+ 1 - 1
src/sdk/cover/index.js

@@ -411,7 +411,7 @@ export const enter = (dom, isLocal) => {
             if(props.type == 'obj') props.type = 'glb'
             props.scale /= 100 
             if(props.rotation){
-                if(props.rotation._x = void 0 && props.rotation.x != void 0){
+                if(props.rotation._x == void 0 && props.rotation.x != void 0){
                     props.rotation = new THREE.Euler().setFromVector3(props.rotation)
                 }
             }