From 8975ba0a553a6cbe6b9e086a474331bddfb55841 Mon Sep 17 00:00:00 2001 From: Julien Duroure Date: Fri, 24 Sep 2021 16:43:33 +0200 Subject: glTF export: fix animation export for objects parented to bones --- io_scene_gltf2/__init__.py | 2 +- io_scene_gltf2/blender/exp/gltf2_blender_gather_nodes.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'io_scene_gltf2') 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] -- cgit v1.2.3