mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-07 09:33:51 +00:00
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:
parent
ebf90eba9f
commit
f4805b8e69
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue