|
@@ -86,7 +86,7 @@ export const enter = ({ dom, mapDom, isLocal, lonlat, scenes, laserRoot, laserOS
|
|
|
}
|
|
|
|
|
|
if(isLocal){//本地配置
|
|
|
- Potree.settings.isLocal = Potree.settings.tileOriginUrl = isLocal2
|
|
|
+ Potree.settings.isLocal = Potree.settings.tileOriginUrl = isLocal
|
|
|
}
|
|
|
|
|
|
if(laserRoot != void 0){
|
|
@@ -1499,7 +1499,7 @@ export const enter = ({ dom, mapDom, isLocal, lonlat, scenes, laserRoot, laserOS
|
|
|
} */
|
|
|
|
|
|
if(prop.loading || prop.loadFinish)return
|
|
|
-
|
|
|
+ if(prop.url == void 0)return console.error('model没有url!',prop)
|
|
|
Potree.Log(`--开始加载--`, { font: { color: '#f68' } });
|
|
|
console.log('id:', prop.id, ', title:', prop.title, ', filename:', Potree.Common.getNameFromURL(prop.url), ', type:', prop.type, prop)
|
|
|
|