mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:20:53 +01:00
[PR #1746] glb_inspect: show the default scene and named root nodes #1760
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#1760
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/1746
Author: @kirigayakazima
Created: 11/25/2026
Status: 🔄 Open
Base:
main← Head:codex/glb-inspect-scene-roots📝 Commits (1)
08bbbaeglb_inspect: list default scene and its declared root nodes📊 Changes
2 files changed (+62 additions, -1 deletions)
View changed files
📝
tests/test_glb_inspect.py(+28 -0)📝
tools/glb_inspect.py(+34 -1)📄 Description
Claimed in the coordination issue as: GLB-INSPECT-SCENE-ROOTS
What and why
The scene count alone does not show which scene a viewer opens or which roots it contains. Both report formats now give the declared default and each scene's ordered root indices and names. Broken references are reported alongside their scene. An omitted default stays unspecified. glTF scene schema
Tested
Two synthetic tests cover an omitted and nonzero default scene, declared root order, node names, absent and empty root arrays, duplicate roots and references to missing or non-object entries.
python -I tests/test_glb_inspect.pyon Windows with Python 3.14.7 ran 38 tests on this branch with one platform skip. The new tests also failed against the original inspector.python -I scripts/check_no_game_data.py tools/glb_inspect.py tests/test_glb_inspect.pyandgit diff --checkpassed.bcaa13dapassed 6,287 semantic tests across 488 files.GPUs tested: N/A (CPU-only metadata inspection).
AI-assisted: Yes.
Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.