Dont include bone in exported anim if its not keyed or in preserved skel...

This commit is contained in:
Will Snyder
2022-01-13 12:52:30 -08:00
parent 7244446dd9
commit c314592d48
5 changed files with 55 additions and 18 deletions

View File

@@ -9,7 +9,7 @@ from mathutils import Vector, Matrix
def inject_dummy_data(model : Model):
""" Adds a triangle and material to the scene root when exporting skeletons to satisfy ZenAsset. """
""" Adds a triangle and material to the model (scene root). Needed to export zenasst-compatible skeletons. """
model.hidden = True
dummy_seg = GeometrySegment()