Fix #147739: Python animation baking script was checking bone selection from wrong type of bone
The script was checking if a bone was selected via Bone.select. As of 5.0, this is not available. Instead, PoseBone.select should be used. Pull Request: https://projects.blender.org/blender/blender/pulls/147743
This commit is contained in:
committed by
Sybren A. Stüvel
parent
38adb8f1a4
commit
88308e108e
@@ -465,7 +465,7 @@ def bake_action_iter(
|
||||
frame=f, group_name="Armature Custom Properties")
|
||||
|
||||
for name, pbone in obj.pose.bones.items():
|
||||
if bake_options.only_selected and not pbone.bone.select:
|
||||
if bake_options.only_selected and not pbone.select:
|
||||
continue
|
||||
|
||||
if bake_options.do_constraint_clear:
|
||||
|
||||
Reference in New Issue
Block a user