Raise the character mesh budget to 8000
Full build / Import + headless tests (push) Successful in 33s
Full build / Full desktop build + optional release (push) Skipped

This commit is contained in:
zwitschi committed 2026-11-02 19:25:41 +01:00
1 parent cd5e0e0ff7
commit 7dc3d3c873
8 files changed
+50 -41

No files matched your search

+5 -4
View File
@@ -9,10 +9,11 @@ class CatalogueTests(unittest.TestCase):
def test_contract_matches_npc_pipeline(self):
self.assertEqual(ba.SLOTS, npc_pipeline.SLOTS)
self.assertEqual(sorted(ba.BONES), sorted(npc_pipeline.BONES))
# The base mesh keeps the frozen 6000/4000 contract; library variants may
# spend up to 5000 verts on face/hand detail (documented in blender-assets.md).
self.assertLessEqual(ba.CHAR_MAX_TRIS, npc_pipeline.MAX_TRIANGLES)
self.assertLessEqual(ba.CHAR_MAX_VERTS, 5000)
# The base mesh keeps the frozen 6000/4000 contract; the eight library
# variants have their own 8000/8000 detail budget (documented in
# blender-assets.md and covered by smoke_npc_budget.gd).
self.assertLessEqual(ba.CHAR_MAX_TRIS, 8000)
self.assertLessEqual(ba.CHAR_MAX_VERTS, 8000)
def test_gear_uses_known_attach_points(self):
for name, attach in ba.GEAR.items():