xzw 2 years ago
parent
commit
13cb3d9ac3
2 changed files with 4 additions and 3 deletions
  1. 3 2
      public/static/lib/potree/potree.js
  2. 1 1
      public/static/lib/potree/potree.js.map

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

@@ -92245,7 +92245,7 @@ ENDSEC
 	    } */
 	}
 
-	let { PanoramaEvents} = Potree.defines;
+	let { PanoramaEvents } = Potree.defines;
 	var texLoader$4 = new TextureLoader();
 
 
@@ -94430,9 +94430,10 @@ ENDSEC
 	        
 	            var s = [Images360.filters.not(this.currentPano )],
 	            l = [Images360.scoreFunctions.distanceSquared(this.currentPano ), Images360.scoreFunctions.direction(this.position, this.getDirection())]; 
-	            this.nearPanos = Common$1.sortByScore(this.panos, s, l);  
+	            this.nearPanos = Common$1.sortByScore(this.panos, s, l).map(e=>e.item);  
 	        
 	            //下载深度图 
+	            let depTexDlCount = browser.isMobile() ? 1 : 2; 
 	            let loadingCount = this.nearPanos.filter(p=>p.depthTexLoading).length;
 	            if(loadingCount<depTexDlCount){
 	                this.nearPanos.filter(p=>!p.depthTex).slice(0, depTexDlCount-loadingCount).forEach(p=>p.loadDepthImg());  

File diff suppressed because it is too large
+ 1 - 1
public/static/lib/potree/potree.js.map