xzw 3 miesięcy temu
rodzic
commit
4666ef5283
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      src/sdk/laser/core/enter.js

+ 1 - 0
src/sdk/laser/core/enter.js

@@ -97,6 +97,7 @@ var enter = ({
             var pos1Matrix = new THREE.Matrix4().setPosition(pointcloud.position);//先移动到点云本身应该在的初始位置(在4dkk里和其他应用中都是在这个位置的,也能和漫游点对应上)
             pointcloud.matrix = new THREE.Matrix4().multiplyMatrices(pointcloud.transformMatrix, pos1Matrix);
             pointcloud.updateMatrixWorld(true)
+            viewer.boundNeedUpdate = true
         })
           
     }