From 7a51dad87f0a762a3a1963e7fe31a6a8560b6f6a Mon Sep 17 00:00:00 2001 From: OusmBlueNinja <89956790+OusmBlueNinja@users.noreply.github.com> Date: Tue, 31 Dec 2024 14:29:20 -0600 Subject: [PATCH] Fixed Formatting --- src/Engine/AssetManager.cpp | 2 +- src/Windows/InspectorWindow.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Engine/AssetManager.cpp b/src/Engine/AssetManager.cpp index d7fbe51..bdb67d9 100644 --- a/src/Engine/AssetManager.cpp +++ b/src/Engine/AssetManager.cpp @@ -534,7 +534,7 @@ Model *LoadModelFromList(const std::string &path) } // Code to analyze auto end = std::chrono::high_resolution_clock::now(); - g_LoggerWindow->AddLog("Loaded Mesh in %.6f seconds", + g_LoggerWindow->AddLog("[AssetManager] Loaded Mesh in %.6f seconds", std::chrono::duration_cast>(end - start).count()); DEBUG_PRINT("[AssetManager] Loaded model with %lld submeshes.", model->submeshes.size()); diff --git a/src/Windows/InspectorWindow.cpp b/src/Windows/InspectorWindow.cpp index 5e61d06..e10aba1 100644 --- a/src/Windows/InspectorWindow.cpp +++ b/src/Windows/InspectorWindow.cpp @@ -629,10 +629,9 @@ void InspectorWindow::Show() ImGui::TextColored(ImVec4(1.0f, 0.0f, 0.0f, 1.0f), "No model loaded."); } } + ImGui::Separator(); } - ImGui::Spacing(); - if (script && g_SelectedObject) { ImGui::PushStyleColor(ImGuiCol_Text, ImVec4(1.0f, 1.0f, 1.0f, 1.0f));