1
0
mirror of synced 2024-09-23 19:18:21 +02:00

Reset the camera when the movement mode is changed

This commit is contained in:
KillzXGaming 2019-08-06 16:22:24 -04:00
parent a80f6c31b5
commit 23324a2233

View File

@ -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();
}