This PR adds a new checkbox to the bake panel that allows us to configure the only_selected argument for the bpy.ops.nla.bake operation and automatically selects all bones in the target armature that we have created a bone mapping for.
This helps us to retarget animation on character rigs that tend to break when we bake keyframes onto all exposed properties. In particular, the Blender studio character rigs that use the CloudRig script tend to turn inside out when keyframes are baked without this change.
This PR adds a new checkbox to the bake panel that allows us to configure the
only_selected
argument for thebpy.ops.nla.bake
operation and automatically selects all bones in the target armature that we have created a bone mapping for.This helps us to retarget animation on character rigs that tend to break when we bake keyframes onto all exposed properties. In particular, the Blender studio character rigs that use the CloudRig script tend to turn inside out when keyframes are baked without this change.