|
@@ -816,9 +816,9 @@ class NavCubeViewer extends ViewerBase{
|
|
|
viewer.focusOnObject(viewer.bound, 'boundingBox', 1000, {
|
|
|
endPitch: pitch, endYaw: yaw , dir, startCamera, endCamera
|
|
|
}).promise.done(()=>{
|
|
|
- let baseLine = viewer.scene.measurements.find(e=>e.isBaseLine && e.points.length == 2)
|
|
|
+ /* let baseLine = viewer.scene.measurements.find(e=>e.isBaseLine && e.points.length == 2)
|
|
|
baseLine && Potree.Utils.updateVisible(baseLine,'enterOrthoView',true)//基准线仅在正交视图可见
|
|
|
-
|
|
|
+ */
|
|
|
done && done()
|
|
|
navCubeViewer.dispatchEvent('content_changed')
|
|
|
})
|
|
@@ -896,9 +896,9 @@ class NavCubeViewer extends ViewerBase{
|
|
|
startCamera = viewer.scene.cameraO
|
|
|
endCamera = viewer.scene.cameraP
|
|
|
|
|
|
- let baseLine = viewer.scene.measurements.find(e=>e.isBaseLine && e.points.length == 2)
|
|
|
+ /* let baseLine = viewer.scene.measurements.find(e=>e.isBaseLine && e.points.length == 2)
|
|
|
baseLine && Potree.Utils.updateVisible(baseLine,'enterOrthoView',false) //基准线仅在正交视图可见
|
|
|
-
|
|
|
+ */
|
|
|
}else{
|
|
|
|
|
|
console.log('switchView2', 'not ortho')
|