From f7fbb518c8194e0a416321f5856e947d5592e131 Mon Sep 17 00:00:00 2001 From: Julian Eisel Date: Thu, 24 Jun 2021 00:05:12 +0200 Subject: Fix failure when baking actions with Bendy Bones 682a74e0909ba renamed Bendy Bones properties and replaced existing float properties with float-vector properties. This updates the property names used by the action baking operator (`NLA_OT_bake`). --- release/scripts/modules/bpy_extras/anim_utils.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/release/scripts/modules/bpy_extras/anim_utils.py b/release/scripts/modules/bpy_extras/anim_utils.py index 0868b772a2b..dd19bb8f975 100644 --- a/release/scripts/modules/bpy_extras/anim_utils.py +++ b/release/scripts/modules/bpy_extras/anim_utils.py @@ -156,10 +156,9 @@ def bake_action_iter( # Note: BBONE_PROPS is a list so we can preserve the ordering BBONE_PROPS = [ 'bbone_curveinx', 'bbone_curveoutx', - 'bbone_curveiny', 'bbone_curveouty', + 'bbone_curveinz', 'bbone_curveoutz', 'bbone_rollin', 'bbone_rollout', - 'bbone_scaleinx', 'bbone_scaleoutx', - 'bbone_scaleiny', 'bbone_scaleouty', + 'bbone_scalein', 'bbone_scaleout', 'bbone_easein', 'bbone_easeout' ] -- cgit v1.2.3