[Bf-extensions-cvs] [8975ba0a] master: glTF export: fix animation export for objects parented to bones
Julien Duroure
noreply at git.blender.org
Fri Sep 24 16:44:02 CEST 2021
Commit: 8975ba0a553a6cbe6b9e086a474331bddfb55841
Author: Julien Duroure
Date: Fri Sep 24 16:43:33 2021 +0200
Branches: master
https://developer.blender.org/rBA8975ba0a553a6cbe6b9e086a474331bddfb55841
glTF export: fix animation export for objects parented to bones
===================================================================
M io_scene_gltf2/__init__.py
M io_scene_gltf2/blender/exp/gltf2_blender_gather_nodes.py
===================================================================
diff --git a/io_scene_gltf2/__init__.py b/io_scene_gltf2/__init__.py
index 9a89cfbe..44d0ec92 100755
--- a/io_scene_gltf2/__init__.py
+++ b/io_scene_gltf2/__init__.py
@@ -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',
diff --git a/io_scene_gltf2/blender/exp/gltf2_blender_gather_nodes.py b/io_scene_gltf2/blender/exp/gltf2_blender_gather_nodes.py
index 28a19c9e..13c347dc 100755
--- a/io_scene_gltf2/blender/exp/gltf2_blender_gather_nodes.py
+++ b/io_scene_gltf2/blender/exp/gltf2_blender_gather_nodes.py
@@ -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]
More information about the Bf-extensions-cvs
mailing list