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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <julian@blender.org>2021-06-24 01:05:12 +0300
committerJulian Eisel <julian@blender.org>2021-06-24 01:10:11 +0300
commitf7fbb518c8194e0a416321f5856e947d5592e131 (patch)
tree4b40808a7374c57d71219578034adbbd1f8c4592
parentd6212f67a9c2415b5d664150991d8be52a1e9183 (diff)
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`).
-rw-r--r--release/scripts/modules/bpy_extras/anim_utils.py5
1 files 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'
]