|
@@ -534,7 +534,14 @@ export const enter = (dom, isLocal) => {
|
|
|
model && model.position.copy(pos)
|
|
|
model.dispatchEvent({type:'position_changed'})
|
|
|
},
|
|
|
-
|
|
|
+ changeRotation(rot){//校准取消时执行
|
|
|
+ //if(MergeEditor.selected == model){
|
|
|
+ //console.log('rot', rot.x, rot.y, rot.z)
|
|
|
+ //}
|
|
|
+
|
|
|
+ model && model.rotation.setFromVector3(rot)
|
|
|
+ model.dispatchEvent({type:'rotation_changed'})
|
|
|
+ },
|
|
|
|
|
|
|
|
|
enterRotateMode(){
|