|
@@ -88023,11 +88023,12 @@
|
|
|
path = sceneCode;
|
|
|
} else {
|
|
|
var prefix = Potree.settings.urls.panoPrefix || 'https://4dkk.4dage.com';
|
|
|
- if (Potree.settings.urls.templates.vision) {
|
|
|
- path = prefix + Potree.Common.replaceAll(Potree.settings.urls.templates.vision, '{sceneCode}', sceneCode);
|
|
|
- } else {
|
|
|
- path = "".concat(prefix, "/scene_view_data/").concat(sceneCode, "/images/vision.txt");
|
|
|
- }
|
|
|
+ path = "".concat(prefix, "/swkk/").concat(sceneCode, "/wwwroot/scene_view_data/").concat(sceneCode, "/images/vision.txt");
|
|
|
+ /* if(Potree.settings.urls.templates.vision){
|
|
|
+ path = prefix + Potree.Common.replaceAll(Potree.settings.urls.templates.vision, '{sceneCode}', sceneCode)
|
|
|
+ }else{
|
|
|
+ path = `${prefix}/scene_view_data/${sceneCode}/images/vision.txt`
|
|
|
+ } */
|
|
|
}
|
|
|
model.sceneCode = sceneCode;
|
|
|
loadFile(path, {}, data => {
|