浏览代码

fix: 点云初始位置恢复

xzw 7 月之前
父节点
当前提交
541a7453f8
共有 2 个文件被更改,包括 2 次插入4 次删除
  1. 1 3
      public/lib/potree/potree.js
  2. 1 1
      public/lib/potree/potree.js.map

+ 1 - 3
public/lib/potree/potree.js

@@ -21957,9 +21957,7 @@
 	        material.pointSizeType = config.pointSizeType; //Potree.PointSizeType[config.pointSizeType]//Potree.PointSizeType.ADAPTIVE;//FIXED
 	        pointcloud.changePointSize(config.realPointSize); //material.size =  config.pointSize;
 	        pointcloud.changePointOpacity(1);
-
-	        //dataset && (transformPointcloud(pointcloud,  dataset),  pointcloud.hasLonLat = true)
-
+	        dataset && (transformPointcloud(pointcloud, dataset), pointcloud.hasLonLat = true);
 	        material.shape = Potree.PointShape.SQUARE;
 	        color && (pointcloud.color = pointcloud.material.color = color);
 	        pointcloud.timeStamp = timeStamp;

文件差异内容过多而无法显示
+ 1 - 1
public/lib/potree/potree.js.map