Weighting start

This commit is contained in:
William Herald Snyder
2020-10-12 09:45:21 -04:00
parent 8dea6fac49
commit 2599a7203e
3 changed files with 31 additions and 4 deletions

View File

@@ -129,6 +129,9 @@ def _write_modl(modl: Writer, model: Model, index: int, material_index: Dict[str
for segment in model.geometry:
with geom.create_child("SEGM") as segm:
_write_segm(segm, segment, material_index)
if model.type = ModelType.SKIN:
with modl.create_child("ENVL") as envl:
if model.collisionprimitive is not None:
with modl.create_child("SWCI") as swci: