diff --git a/release/scripts/op/nla.py b/release/scripts/op/nla.py index 2dbf071f7e9..284c6ca354c 100644 --- a/release/scripts/op/nla.py +++ b/release/scripts/op/nla.py @@ -98,7 +98,7 @@ def bake(frame_start, frame_end, step=1, only_selected=False): pose_items = pose.bones.items() for name, pbone in pose_items: - if only_selected and not pbone.select: + if only_selected and not pbone.bone.select: continue for f in frame_range: