|
@@ -78099,7 +78099,7 @@ void main()
|
|
|
|
|
|
|
|
|
|
|
|
- const loadDone$1 = (tile, success)=>{
|
|
|
+ const loadDone = (tile, success)=>{
|
|
|
tile.map.mapLayer.loadingInProgress--;
|
|
|
tile.map.loadingInProgress--;
|
|
|
//console.log('loaddone', tile.name, 'loadingInProgress',tile.map.mapLayer.loadingInProgress, Date.now())
|
|
@@ -78151,7 +78151,7 @@ void main()
|
|
|
//tile.texURL && tile.texURL.includes('testdata') && console.log('loadDone and dispose', tile.texURL.split('map_tiles/')[1] )
|
|
|
tex.dispose();
|
|
|
}
|
|
|
- loadDone$1(tile, true);
|
|
|
+ loadDone(tile, true);
|
|
|
} , void 0, (()=>{//error
|
|
|
tile.textureLoaded = !0;
|
|
|
if(tile.mesh){
|
|
@@ -78159,7 +78159,7 @@ void main()
|
|
|
tile.mesh.material = errorMaterial;
|
|
|
tile.map.mapLayer.viewer.mapChanged = true;
|
|
|
}
|
|
|
- loadDone$1(tile, false);
|
|
|
+ loadDone(tile, false);
|
|
|
tile.map.loadFailCount ++ ;
|
|
|
|
|
|
if(tile.map instanceof TiledMapOpenStreetMap && Potree.settings.mapCompany == 'google' && tile.map.loadFailCount > 3){//极有可能没有vpn为了防止影响到其他资源加载,减少加载的个数
|
|
@@ -164065,7 +164065,7 @@ ENDSEC
|
|
|
fileInfo_.parentInfo.loadedCount ++;
|
|
|
fileInfo_.parentInfo.modelGroup.add(object);
|
|
|
if(fileInfo_.parentInfo.loadedCount == fileInfo_.parentInfo.url.length){
|
|
|
- return loadDone(fileInfo_.parentInfo.modelGroup, fileInfo_.parentInfo)
|
|
|
+ return this.modelLoaded(fileInfo_.parentInfo.modelGroup, fileInfo_.parentInfo)
|
|
|
}else {
|
|
|
return
|
|
|
}
|