glTF export: fix animation export for objects parented to bones
This commit is contained in:
parent
e1748aecd5
commit
8975ba0a55
|
@ -15,7 +15,7 @@
|
|||
bl_info = {
|
||||
'name': 'glTF 2.0 format',
|
||||
'author': 'Julien Duroure, Scurest, Norbert Nopper, Urs Hanselmann, Moritz Becher, Benjamin Schmithüsen, Jim Eckerlein, and many external contributors',
|
||||
"version": (1, 7, 28),
|
||||
"version": (1, 7, 29),
|
||||
'blender': (2, 91, 0),
|
||||
'location': 'File > Import-Export',
|
||||
'description': 'Import-Export as glTF 2.0',
|
||||
|
|
|
@ -225,7 +225,7 @@ def __gather_children(blender_object, blender_scene, export_settings):
|
|||
parent_joint = find_parent_joint(root_joints, child.parent_bone)
|
||||
if not parent_joint:
|
||||
continue
|
||||
child_node = gather_node(child, None, None, None, export_settings)
|
||||
child_node = gather_node(child, None, blender_scene, None, export_settings)
|
||||
if child_node is None:
|
||||
continue
|
||||
blender_bone = blender_object.pose.bones[parent_joint.name]
|
||||
|
|
Loading…
Reference in New Issue