Reset the camera when the movement mode is changed
This commit is contained in:
parent
a80f6c31b5
commit
23324a2233
@ -606,9 +606,15 @@ namespace Toolbox.Library
|
||||
{
|
||||
orbitToolStripMenuItem.Checked = true;
|
||||
walkToolStripMenuItem.Checked = false;
|
||||
|
||||
Runtime.cameraMovement = Runtime.CameraMovement.Inspect;
|
||||
}
|
||||
|
||||
if (GL_ControlModern != null)
|
||||
GL_ControlModern.ResetCamera(Runtime.FrameCamera);
|
||||
else
|
||||
GL_ControlModern.ResetCamera(Runtime.FrameCamera);
|
||||
|
||||
LoadViewportRuntimeValues();
|
||||
UpdateViewport();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user