feat(editor): object panel shows total pool count for M2/WMO assets

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.
This commit is contained in:
Kelsi 2026-05-06 03:47:54 -07:00
parent ebf90eba9f
commit f4805b8e69

View file

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