Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Duroure <julien.duroure@gmail.com>2022-02-10 07:28:08 +0300
committerJulien Duroure <julien.duroure@gmail.com>2022-02-10 07:28:08 +0300
commit1a5064852497b500dce4a43dd77b3df617613fbc (patch)
treec67fc0119639bd03b396ba0e0b4dcec5de018d59
parentd015eee1f40752baac62e9771498a6b2e878d2e9 (diff)
glTF: when exporting with selection, bake in all cases to get constraints applied
-rwxr-xr-xio_scene_gltf2/blender/exp/gltf2_blender_gather_animations.py2
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: