diff options
-rwxr-xr-x | io_scene_gltf2/blender/exp/gltf2_blender_gather_animations.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/io_scene_gltf2/blender/exp/gltf2_blender_gather_animations.py b/io_scene_gltf2/blender/exp/gltf2_blender_gather_animations.py index 4ad8872e..c56517fb 100755 --- a/io_scene_gltf2/blender/exp/gltf2_blender_gather_animations.py +++ b/io_scene_gltf2/blender/exp/gltf2_blender_gather_animations.py @@ -75,6 +75,12 @@ def gather_animations( obj_uuid: int, __link_samplers(animation, export_settings) if animation is not None: animations.append(animation) + elif export_settings['gltf_selected'] is True and blender_object.type == "ARMATURE": + # We need to bake all bones. Because some bone can have some constraints linking to + # some other armature bones, for example + #TODO + pass + current_action = None if blender_object.animation_data and blender_object.animation_data.action: |