DummyRoot data injection for ZA, matrix_local-with-bone-parent bug workaround, ENVL indicies start from one (fixing ZE bug), auto transform application for children of bones in a skeleton used for skinning done but commented out for further decision
This commit is contained in:
@@ -76,6 +76,10 @@ def create_scene(generate_triangle_strips: bool, apply_modifiers: bool, export_t
|
||||
if "Armature" in bpy.context.scene.objects.keys():
|
||||
scene.anims = [extract_anim(bpy.context.scene.objects["Armature"])]
|
||||
|
||||
root = scene.models[0]
|
||||
if skel_only and root.model_type == ModelType.NULL:
|
||||
inject_dummy_data(root)
|
||||
|
||||
return scene
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user