xzw hai 3 días
pai
achega
d0a845d7c3
Modificáronse 3 ficheiros con 189 adicións e 155 borrados
  1. 185 151
      public/lib/potree/potree.js
  2. 1 1
      public/lib/potree/potree.js.map
  3. 3 3
      src/sdk/cover/index.js

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 185 - 151
public/lib/potree/potree.js


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 1 - 1
public/lib/potree/potree.js.map


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

@@ -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)