Add the external-mesh adapt intake command for the MakeHuman pipeline
Full build / Import + headless tests (push) Successful in 46s
Full build / Full desktop build + optional release (push) Skipped

This commit is contained in:
zwitschi committed 2026-11-04 11:27:43 +01:00
1 parent e984129597
commit 28fcd96b59
7 files changed
+130 -20

No files matched your search

+7
View File
@@ -35,6 +35,13 @@ class CatalogueTests(unittest.TestCase):
for mat in spec.get("emissive", []):
self.assertGreater(ba.PALETTE[mat][3], 0.0, f"{name}:{mat}")
def test_adapt_requires_blender(self):
# `adapt_glb` is a Blender-only intake step; outside Blender it must
# fail cleanly instead of raising.
result = ba.adapt_glb("/tmp/whatever.glb", "/tmp/out.glb")
self.assertFalse(result["ok"])
self.assertIn("Blender", result["error"])
@unittest.skipUnless(ba.MANIFEST.is_file(), "Blender assets not built")
class BuiltAssetTests(unittest.TestCase):