Преглед изворни кода

fix: Merge branch 'v1.9.0-jm' of http://192.168.0.115:3000/bill/fuse-code into v1.9.0-jm

bill пре 8 месеци
родитељ
комит
ea7e6ee03b

Разлика између датотеке није приказан због своје велике величине
+ 614 - 350
public/lib/potree/potree.js


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
public/lib/potree/potree.js.map


public/lib/potree/resources/textures/arrows.png → public/lib/potree/resources/textures/arrow.png


+ 19 - 0
src/sdk/cover/index.js

@@ -16,7 +16,18 @@ const ModelTypes = {
 }
 let cesAspect
 
+
+
+
+//江门版本
+
+
+
+
+
+
 export const enter = ({ dom, mapDom, isLocal, lonlat, scenes, laserRoot }) => {
+    
     console.warn('新的页面')
     Potree.settings.isOfficial = true //标记为正式、非测试版本 
     //Potree.fileServer = axios 
@@ -47,6 +58,14 @@ export const enter = ({ dom, mapDom, isLocal, lonlat, scenes, laserRoot }) => {
             } 
         }
     }
+    
+    console.log(laserRoot)
+    if(laserRoot){
+        Potree.loadDatasets = function(){
+            return laserRoot
+        }
+    }
+    
     const mapBus = mitt(), sceneBus = mitt()