|
@@ -610,6 +610,8 @@ export const enter = (dom, mapDom, isLocal, lonlat) => {
|
|
|
//if(autoLoads.filter(e=>e.loaded).length>1)return console.log('取消加载', prop), prop.onError()
|
|
|
|
|
|
//return prop.onError()
|
|
|
+
|
|
|
+ prop.unlit = props.renderType != 'normal' //用户上传的glb 若renderType为normal则用文件中定义的材质(最好是standardMaterial)
|
|
|
prop.maximumScreenSpaceError = 60
|
|
|
Potree.addModel(prop, prop.done , prop.progressFun, prop.onError)
|
|
|
prop.loading = true
|