From 32ff80f17784e9e6d54c525285fdd7e1e3a7b74d Mon Sep 17 00:00:00 2001 From: Kelsi Date: Wed, 6 May 2026 03:48:37 -0700 Subject: [PATCH] feat(editor): texture panel shows total pool count + dir count --- tools/editor/editor_ui.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/editor/editor_ui.cpp b/tools/editor/editor_ui.cpp index 03033250..670e9f81 100644 --- a/tools/editor/editor_ui.cpp +++ b/tools/editor/editor_ui.cpp @@ -1333,10 +1333,12 @@ void EditorUI::renderTexturePaintPanel(EditorApp& app) { std::transform(filter.begin(), filter.end(), filter.begin(), [](unsigned char c) { return std::tolower(c); }); + const auto& textures = browser.getTextures(); + ImGui::TextDisabled("Pool: %zu textures across %zu dirs", + textures.size(), dirs.size()); float listHeight = ImGui::GetContentRegionAvail().y - 60; ImGui::BeginChild("TexList", ImVec2(0, listHeight), true); - const auto& textures = browser.getTextures(); int shown = 0; for (const auto& tex : textures) { if (texDirIdx_ >= 0 && tex.directory != dirs[texDirIdx_]) continue;