From f4805b8e6985f9af35159e83bd055e62a53ad5ef Mon Sep 17 00:00:00 2001 From: Kelsi Date: Wed, 6 May 2026 03:47:54 -0700 Subject: [PATCH] feat(editor): object panel shows total pool count for M2/WMO assets MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Helps users understand the search base — 'Pool: 1234 M2 56 WMO' tells them why their filter might be matching too many results, and gives a quick view into how much asset variety the loaded data has. --- tools/editor/editor_ui.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/editor/editor_ui.cpp b/tools/editor/editor_ui.cpp index cd31f15b..03033250 100644 --- a/tools/editor/editor_ui.cpp +++ b/tools/editor/editor_ui.cpp @@ -1556,6 +1556,9 @@ void EditorUI::renderObjectPanel(EditorApp& app) { [](unsigned char c) { return std::tolower(c); }); auto& browser = app.getAssetBrowser(); + // Show pool counts so the user knows the search base. + ImGui::TextDisabled("Pool: %zu M2 %zu WMO", + browser.getM2Models().size(), browser.getWMOs().size()); float listHeight = ImGui::GetContentRegionAvail().y - 100; ImGui::BeginChild("ObjList", ImVec2(0, listHeight), true);