Mwni / blender-animation-retargeting

Add-on for Blender that allows the transfer of animations and poses from one armature to another
482 stars 47 forks source link

Added bake setting to only bake mapped target bones into the action #33

Closed Mystfit closed 6 months ago

Mystfit commented 6 months ago

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.

Mwni commented 6 months ago

Thank you for this contribution.