[Bf-extensions-cvs] [b9df05b6] master: glTF exporter: add TODO comment

Julien Duroure noreply at git.blender.org
Thu Mar 10 09:09:13 CET 2022


Commit: b9df05b63273a208a4ee9dc9d09d1b97d05ac08a
Author: Julien Duroure
Date:   Thu Mar 10 09:08:57 2022 +0100
Branches: master
https://developer.blender.org/rBAb9df05b63273a208a4ee9dc9d09d1b97d05ac08a

glTF exporter: add TODO comment

===================================================================

M	io_scene_gltf2/blender/exp/gltf2_blender_gather_animations.py

===================================================================

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:



More information about the Bf-extensions-cvs mailing list