forked from bartvdbraak/blender
select PoseBone attribute was made only available on bone.
This commit is contained in:
parent
244f456a3c
commit
b4246549e7
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user