diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2020-01-14 16:04:23 +0300 |
---|---|---|
committer | Alexander Gavrilov <angavrilov@gmail.com> | 2020-01-14 16:13:06 +0300 |
commit | d5c963bbc3da296f7740ef6df563946ed1f98d15 (patch) | |
tree | e1e701aa0a2d390d25a974f8984a0e3f56296b25 /release | |
parent | 283d76932a74971b8be06a988c2e0646fdbc1b78 (diff) |
Fix T69105: reset the action blend mode to Replace in Bake Action.
This can't be done in Tweak mode since the setting is stored in the
tweaked strip, and the logic for finding it is not exposed to python.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/modules/bpy_extras/anim_utils.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/release/scripts/modules/bpy_extras/anim_utils.py b/release/scripts/modules/bpy_extras/anim_utils.py index d5e328f5c51..c67134ac3f6 100644 --- a/release/scripts/modules/bpy_extras/anim_utils.py +++ b/release/scripts/modules/bpy_extras/anim_utils.py @@ -257,6 +257,9 @@ def bake_action_iter( atd.action = action + # Baking the action only makes sense in Replace mode, so force it (T69105) + if not atd.use_tweak_mode: + atd.action_blend_type = 'REPLACE' # ------------------------------------------------------------------------- # Apply transformations to action |