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