|
@@ -380,7 +380,7 @@ export default class ConvertViews extends THREE.EventDispatcher{
|
|
|
|
|
|
let data = this.getCameraData(sourceApp)
|
|
let data = this.getCameraData(sourceApp)
|
|
let camera = bimViewer.getViewer().camera
|
|
let camera = bimViewer.getViewer().camera
|
|
- if(camera.fov != data.fov){
|
|
|
|
|
|
+ if(data.fov && camera.fov != data.fov){
|
|
camera.fov = data.fov
|
|
camera.fov = data.fov
|
|
camera.updateProjectionMatrix()
|
|
camera.updateProjectionMatrix()
|
|
}
|
|
}
|