Added a option to disable drawing axis in the view menu

This commit is contained in:
antopilo
2023-03-06 16:57:07 -05:00
parent a777f37830
commit 0df434282d
3 changed files with 6 additions and 1 deletions

View File

@@ -148,7 +148,7 @@ int main(int argc, char* argv[])
camera = currentScene->m_EditorCamera;
}
if (currentScene && !Nuake::Engine::IsPlayMode)
if (currentScene && !Nuake::Engine::IsPlayMode && editor.ShouldDrawAxis())
{
gizmoDrawer.DrawGizmos(currentScene);
}