|
@@ -353,7 +353,7 @@ export const enter = ({ dom, mapDom, isLocal, lonlat, scenes }) => {
|
|
|
|
|
|
let pano = viewer.images360.findNearestPano(pos)
|
|
let pano = viewer.images360.findNearestPano(pos)
|
|
if (pano && pano.position.distanceTo(pos) < Potree.config.panoFieldRadius) {
|
|
if (pano && pano.position.distanceTo(pos) < Potree.config.panoFieldRadius) {
|
|
- return {pano.pointcloud.result_}
|
|
|
|
|
|
+ return {model:pano.pointcloud.result_}
|
|
}
|
|
}
|
|
//poschange后会调用这个,如果返回false会变为点云模式,且不会自动变回原先的模式
|
|
//poschange后会调用这个,如果返回false会变为点云模式,且不会自动变回原先的模式
|
|
},
|
|
},
|