From 9a3ee5d2b9e2cec6954c97934eb5af00275439b9 Mon Sep 17 00:00:00 2001 From: Borooooo Date: Mon, 23 Nov 2026 19:30:34 +0100 Subject: [PATCH] bvh_slot_check: unpack model_geometries() with *_, not a fixed five fields #6330 added the render bucket as a sixth field of bvh_match.model_geometries(), and match_exports() still unpacked five, so every census run stopped with "too many values to unpack". Take the mesh and model and ignore the rest, so the next field added there cannot break this caller again. Fixes the 3 errors in tests/test_bvh_slot_check.py on main (dde82f2); the same fix is open as #6513 and #7954. AI-assisted; tested with python -I tests/test_bvh_slot_check.py and tests/test_bvh_match.py on Windows 11, no GPU needed. Co-Authored-By: Claude Opus 5.5 --- tools/bvh_slot_check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/bvh_slot_check.py b/tools/bvh_slot_check.py index c71700a8d7..bcac91784d 100644 --- a/tools/bvh_slot_check.py +++ b/tools/bvh_slot_check.py @@ -149,7 +149,7 @@ def match_exports(queries, manifests, stats): stats["manifest_items"] += len(items) for item in items: models = defaultdict(list) - for mesh, model, _, _, _ in M.model_geometries(item): + for mesh, model, *_ in M.model_geometries(item): models[model].append(mesh) groups = None buffers = {}