diff options
-rwxr-xr-x | io_scene_gltf2/blender/exp/gltf2_blender_gather_animations.py | 2 |
1 files changed, 1 insertions, 1 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 f4a6843b..cc6f5dd0 100755 --- a/io_scene_gltf2/blender/exp/gltf2_blender_gather_animations.py +++ b/io_scene_gltf2/blender/exp/gltf2_blender_gather_animations.py @@ -69,7 +69,7 @@ def gather_animations( obj_uuid: int, # Collect all 'actions' affecting this object. There is a direct mapping between blender actions and glTF animations blender_actions = __get_blender_actions(blender_object, export_settings) - if export_settings['gltf_selected'] is True and export_settings['vtree'].tree_troncated is True \ + if export_settings['gltf_selected'] is True \ and not (blender_object.animation_data is not None and blender_object.animation_data.action is not None): #there is no animation channels = __gather_channels_baked(obj_uuid, export_settings) if channels is not None: |