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));