xzw 3 năm trước cách đây
mục cha
commit
6dce4b2b63
2 tập tin đã thay đổi với 4 bổ sung4 xóa
  1. 3 3
      public/lib/potree/potree.js
  2. 1 1
      public/lib/potree/potree.js.map

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

@@ -105899,7 +105899,7 @@ ENDSEC
 
     		constructor: GLTFLoader,
 
-    		load: function ( url, onLoad, onProgress, onError ) {
+    		load: function ( url, onLoad, onProgress, onError   ) {
 
     			var scope = this;
 
@@ -105949,7 +105949,7 @@ ENDSEC
     			loader.setWithCredentials( this.withCredentials );
 
     			loader.load( url, function ( data, total ) {// xzw add total 
-
+                    console.log('gltf数据加载成功',url);
     				try {
 
     					scope.parse( data, resourcePath, function ( gltf ) {
@@ -119027,7 +119027,7 @@ ENDSEC
                 SiteModel$1.bus.addEventListener('initDataDone',()=>{ 
                     this.gotoFloor(SiteModel$1.entities.find(e=>e.buildType == 'floor'));  //任意一层
                 });
-                
+                 
                 
                 Alignment$1.bus.addEventListener('switchHandle', this.updateCursor.bind(this));
                 

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 1 - 1
public/lib/potree/potree.js.map