glTF: when exporting with selection, bake in all cases to get constraints applied

This commit is contained in:
Julien Duroure 2022-02-10 05:28:08 +01:00
parent d015eee1f4
commit 1a50648524
1 changed files with 1 additions and 1 deletions

View File

@ -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: