[Bf-blender-cvs] [f7fbb518c81] master: Fix failure when baking actions with Bendy Bones
Julian Eisel
noreply at git.blender.org
Thu Jun 24 00:11:59 CEST 2021
Commit: f7fbb518c8194e0a416321f5856e947d5592e131
Author: Julian Eisel
Date: Thu Jun 24 00:05:12 2021 +0200
Branches: master
https://developer.blender.org/rBf7fbb518c8194e0a416321f5856e947d5592e131
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`).
===================================================================
M release/scripts/modules/bpy_extras/anim_utils.py
===================================================================
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'
]
More information about the Bf-blender-cvs
mailing list