Fixed Formatting

This commit is contained in:
OusmBlueNinja 2024-12-31 14:29:20 -06:00
parent 20635140fe
commit 7a51dad87f
2 changed files with 2 additions and 3 deletions

View File

@ -534,7 +534,7 @@ Model *LoadModelFromList(const std::string &path)
} }
// Code to analyze // Code to analyze
auto end = std::chrono::high_resolution_clock::now(); 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<std::chrono::duration<double>>(end - start).count()); std::chrono::duration_cast<std::chrono::duration<double>>(end - start).count());
DEBUG_PRINT("[AssetManager] Loaded model with %lld submeshes.", model->submeshes.size()); DEBUG_PRINT("[AssetManager] Loaded model with %lld submeshes.", model->submeshes.size());

View File

@ -629,10 +629,9 @@ void InspectorWindow::Show()
ImGui::TextColored(ImVec4(1.0f, 0.0f, 0.0f, 1.0f), "No model loaded."); ImGui::TextColored(ImVec4(1.0f, 0.0f, 0.0f, 1.0f), "No model loaded.");
} }
} }
ImGui::Separator();
} }
ImGui::Spacing();
if (script && g_SelectedObject) if (script && g_SelectedObject)
{ {
ImGui::PushStyleColor(ImGuiCol_Text, ImVec4(1.0f, 1.0f, 1.0f, 1.0f)); ImGui::PushStyleColor(ImGuiCol_Text, ImVec4(1.0f, 1.0f, 1.0f, 1.0f));