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

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

@@ -86655,8 +86655,8 @@
 	}
 	function loadNeighborFile() {
 	  if (Potree.config.neighbourPath) {
-	    var _path = "".concat(Potree.scriptPath, "/").concat(Potree.config.neighbourPath);
-	    loadFile(_path, null, data => {
+	    var path = "".concat(Potree.scriptPath, "/").concat(Potree.config.neighbourPath);
+	    loadFile(path, null, data => {
 	      Potree.extraNeighbours = data;
 	      var _loop = function _loop(datasetid) {
 	        var pointcloud = viewer.scene.pointclouds.find(e => e.dataset_id == datasetid);
@@ -86969,6 +86969,7 @@
 	  });
 	}
 	async function loadPanos(datasetId, callback, number) {
+	  var path;
 	  number = number || Potree.settings.number;
 	  //let query = `?datasetId=${datasetId}`                  //`?lat=${center.lat}&lon=${center.lon}&radius=200000`
 	  if (Potree.fileServer) {

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