Jelajahi Sumber

fix: 点云初始位置恢复

xzw 7 bulan lalu
induk
melakukan
541a7453f8
2 mengubah file dengan 2 tambahan dan 4 penghapusan
  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;

File diff ditekan karena terlalu besar
+ 1 - 1
public/lib/potree/potree.js.map