select PoseBone attribute was made only available on bone.
This commit is contained in:
@@ -98,7 +98,7 @@ def bake(frame_start, frame_end, step=1, only_selected=False):
|
|||||||
pose_items = pose.bones.items()
|
pose_items = pose.bones.items()
|
||||||
|
|
||||||
for name, pbone in pose_items:
|
for name, pbone in pose_items:
|
||||||
if only_selected and not pbone.select:
|
if only_selected and not pbone.bone.select:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
for f in frame_range:
|
for f in frame_range:
|
||||||
|
|||||||
Reference in New Issue
Block a user