Added separte settings for gizmo, shape drawing, fixed sky, better UI
This commit is contained in:
@@ -53,10 +53,15 @@ void EditorLayer::OnUpdate()
|
||||
m_GizmoDrawer->DrawNavMesh(currentScene, true);
|
||||
}
|
||||
|
||||
if (m_EditorInterface->ShouldDrawCollision())
|
||||
if (m_EditorInterface->ShouldDrawGizmos())
|
||||
{
|
||||
m_GizmoDrawer->DrawGizmos(currentScene, false);
|
||||
}
|
||||
|
||||
if (m_EditorInterface->ShouldDrawShapes())
|
||||
{
|
||||
m_GizmoDrawer->DrawShapes(currentScene, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user