Add the external-mesh adapt intake command for the MakeHuman pipeline
This commit is contained in:
1 parent
e984129597
commit
28fcd96b59
7 files changed
+130
-20
No files matched your search
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user