diff --git a/Runtime/CMain.cpp b/Runtime/CMain.cpp index 985b3fa64..7fc8b7677 100644 --- a/Runtime/CMain.cpp +++ b/Runtime/CMain.cpp @@ -344,6 +344,7 @@ public: } g_Renderer->EndScene(); } + m_imGuiConsole.PostDraw(); } void onAppPostDraw() noexcept { diff --git a/Runtime/ImGuiConsole.cpp b/Runtime/ImGuiConsole.cpp index 7992a7cc8..1486a1de4 100644 --- a/Runtime/ImGuiConsole.cpp +++ b/Runtime/ImGuiConsole.cpp @@ -1401,10 +1401,7 @@ void ImGuiConsole::PreUpdate() { if (m_showConsoleVariablesWindow) { ShowConsoleVariablesWindow(); } - ShowDebugOverlay(); - ShowInputViewer(); ShowPlayerTransformEditor(); - ShowPipelineProgress(); m_controllerConfig.show(m_controllerConfigVisible); if (preLaunch && m_showPreLaunchSettingsWindow) { ShowPreLaunchSettingsWindow(); @@ -1444,6 +1441,12 @@ void ImGuiConsole::PostUpdate() { } } +void ImGuiConsole::PostDraw() { + ShowDebugOverlay(); + ShowInputViewer(); + ShowPipelineProgress(); +} + void ImGuiConsole::Shutdown() { dummyWorlds.clear(); stringTables.clear(); diff --git a/Runtime/ImGuiConsole.hpp b/Runtime/ImGuiConsole.hpp index a87737c18..56aa3de3b 100644 --- a/Runtime/ImGuiConsole.hpp +++ b/Runtime/ImGuiConsole.hpp @@ -55,6 +55,7 @@ public: ImGuiConsole(CVarManager& cvarMgr, CVarCommons& cvarCommons); void PreUpdate(); void PostUpdate(); + void PostDraw(); void Shutdown(); static void BeginEntityRow(const ImGuiEntityEntry& entry);