xzw 2 lat temu
rodzic
commit
5baeda314c

+ 10 - 20
public/static/lib/potree/potree.js

@@ -61579,18 +61579,7 @@
 	                } catch (e) {
 	                    console.log('fehler beim laden der punktwolke: ' + e);
 	                } 
-	            };
-
-	            if(Potree.getFileUrl){//更换url
-	                getFileUrl(hurl).then(realUrl => {
-	                    hurl = realUrl;
-	                    startLoad();
-	                });  
-	            }else { 
-	                startLoad();
-	            }
-
-				
+	            }; 
 			}
 		}
 
@@ -77396,16 +77385,17 @@ void main()
 	                xhr.send(null);
 	                    
 	                
-	                if(Potree.getFileUrl){//更换url
-	                    getFileUrl(url).then(realUrl => {
-	                        url = realUrl;
-	                        startLoad();
-	                    });  
-	                }else {
-	                    startLoad();
-	                }
+	                
 	            };
 	            
+	            if(Potree.getFileUrl){//更换url
+	                getFileUrl(url).then(realUrl => {
+	                    url = realUrl;
+	                    startLoad();
+	                });  
+	            }else {
+	                startLoad();
+	            }
 	           
 			} catch (e) {
 				console.log("loading failed: '" + url + "'");

Plik diff jest za duży
+ 1 - 1
public/static/lib/potree/potree.js.map