|
@@ -405,6 +405,11 @@ export const enter = (dom, isLocal) => {
|
|
|
//if(autoLoads.filter(e=>e.loaded).length>1)return console.log('取消加载', prop), prop.onError()
|
|
|
|
|
|
//return prop.onError()
|
|
|
+ if(prop.type == 'glb'){
|
|
|
+ prop.url = prop.url[0] //2024.7 四维看看的4dtiles每个层级转化而来,只取最高精度的
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
|
|
|
Potree.addModel(prop, prop.done , prop.progressFun, prop.onError)
|
|
|
prop.loading = true
|