|
@@ -411,7 +411,7 @@ export const enter = (dom, isLocal) => {
|
|
if(props.type == 'obj') props.type = 'glb'
|
|
if(props.type == 'obj') props.type = 'glb'
|
|
props.scale /= 100
|
|
props.scale /= 100
|
|
if(props.rotation){
|
|
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)
|
|
props.rotation = new THREE.Euler().setFromVector3(props.rotation)
|
|
}
|
|
}
|
|
}
|
|
}
|