mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:00:52 +01:00
[PR #76] bvh_slot_check: unpack 6-tuple from model_geometries() #128
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#128
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/76
Author: @Andretuta
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:old-pr/9803📝 Commits (1)
b34987ebvh_slot_check: unpack 6-tuple from model_geometries()📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
tools/bvh_slot_check.py(+1 -1)📄 Description
Original description (mentions and
#Nreferences are disabled; the numbers refer to the old repository):Claimed in the coordination issue as: https://github.com/ProjectLeonida/Leonida/issues/9677#issuecomment-7116605577
What and why
tools/bvh_match.py'smodel_geometries(item)returns a 6-tuple(mesh, model, geometry, triangles, shader_hash, render_bucket)after#6330added the render bucket field, whiletools/bvh_slot_check.py:153still unpacked 5 elements and raisedValueError: too many values to unpack (expected 5, got 6). Unpack all 6 elements inmatch_exports().Tested
python -I tests/test_bvh_slot_check.py -v: 9/9 passed (OK)python -I tests/test_bvh_match.py: 41/41 passed (OK)python -m compileall -q tools/bvh_slot_check.py: exit 0python -I scripts/check_no_game_data.py tools/bvh_slot_check.py: exit 0AI-assisted: yes
Checklist
docs/design.md, with how it was confirmed.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.