Adjust clipping planes when switching between camera modes.
This commit is contained in:
parent
339ea40031
commit
dca2dc1ec4
@ -366,6 +366,7 @@ export class Viewer
|
|||||||
this.cameraMode = cameraMode;
|
this.cameraMode = cameraMode;
|
||||||
this.cameraValidator.ForceUpdate ();
|
this.cameraValidator.ForceUpdate ();
|
||||||
|
|
||||||
|
this.AdjustClippingPlanes ();
|
||||||
this.Render ();
|
this.Render ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user