mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-07 01:23:52 +00:00
feat(editor): texture panel shows total pool count + dir count
This commit is contained in:
parent
f4805b8e69
commit
32ff80f177
1 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue