From b9df05b63273a208a4ee9dc9d09d1b97d05ac08a Mon Sep 17 00:00:00 2001 From: Julien Duroure Date: Thu, 10 Mar 2022 09:08:57 +0100 Subject: glTF exporter: add TODO comment --- io_scene_gltf2/blender/exp/gltf2_blender_gather_animations.py | 6 ++++++ 1 file changed, 6 insertions(+) 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: -- cgit v1.2.3