mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:00:52 +01:00
[PR #2250] studio: select cube faces for DDS previews and texels #2254
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#2254
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/2250
Author: @kirigayakazima
Created: 11/26/2026
Status: 🔄 Open
Base:
main← Head:codex/studio-dds-cube-face📝 Commits (1)
42cc703studio: select cube faces for DDS previews and texels📊 Changes
5 files changed (+56 additions, -3 deletions)
View changed files
📝
tests/test_gallery.py(+14 -0)📝
tests/test_viewer_studio.cjs(+18 -0)📝
tools/dds_png.py(+2 -2)📝
tools/gallery.py(+4 -1)📝
viewer/studio.html(+18 -0)📄 Description
Claimed in the coordination issue as: STUDIO-DDS-CUBE-FACE
What and why
Expose the cube faces listed by the DDS header in Studio. Preview and half-float texel inspection use the same face, mip and layer. HTTP tests check the selected PNG and the exact stored texel value. The Studio test starts with a partial face list and switches away from its first entry.
Tested
Windows, Python 3.14.7, Node.js 24.19.0. The regression failed on the parent commit and passed with this change.
python -I tests/test_gallery.pynode --test tests/test_viewer_studio.cjspython -I tests/test_dds_subresources.pygit diff --checkand the changed-path no-game-data scan passed.GPUs tested: N/A (synthetic CPU tests).
AI-assisted: Yes.
Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.