|
@@ -1070,12 +1070,12 @@ export const enter = ({ dom, mapDom, isLocal, lonlat, scenes, laserRoot, laserOS
|
|
|
if (!lastState.position || !model.position.equals(lastState.position)) {
|
|
|
lastState.position = msg.position = model.position.clone()
|
|
|
//console.log('change pos', model.name, model.position.toArray())
|
|
|
- msg.posChanged = true
|
|
|
+ //msg.posChanged = true
|
|
|
}
|
|
|
if (!lastState.rotation || !model.rotation.equals(lastState.rotation)) {
|
|
|
lastState.rotation = model.rotation.clone()
|
|
|
msg.rotation = model.rotation.toObject()
|
|
|
- msg.rotChanged = true
|
|
|
+ //msg.rotChanged = true
|
|
|
if(model.atPath && e.byControl){
|
|
|
msg.quaAtPath = AnimationEditor.getModelQuaAtPath(model)
|
|
|
msg.quaAtPath && (msg.quaAtPath = msg.quaAtPath.toObject())
|
|
@@ -1083,7 +1083,7 @@ export const enter = ({ dom, mapDom, isLocal, lonlat, scenes, laserRoot, laserOS
|
|
|
}
|
|
|
if (lastState.scale == void 0 || model.scale.x * 100 != lastState.scale) {
|
|
|
lastState.scale = msg.scale = model.scale.x * 100
|
|
|
- msg.scaleChanged = true
|
|
|
+ //msg.scaleChanged = true
|
|
|
}
|
|
|
|
|
|
msg = Potree.Common.CloneObject(msg)
|