Broken: 2.80, 02581a7ef819
Short description of error
I'm making a rig where I store some custom properties in my face bones which I make use of with a script.
When using Ctrl+C to copy a pose, then Ctrl+Shift+V to Mirror-Paste, the values of the custom properties of the copied pose bone(s) get pasted into the opposite bone if said opposite bone had custom properties with the same name.
Exact steps for others to reproduce the error
- Download attached blend
- Note that left_bone has a property called "prop" and its value is the string "left bone's info"
- Note that right_bone has a property called "prop" and its value is the string "right bone's info"
- press Ctrl+C then Ctrl+Shift+V
- right_bone['prop'] now reads "left bone's info".
One might argue that this is an intended feature, but then the operator should be called "Copy Pose and Properties" not "Copy Pose"! :P (Realistically, "Copy Properties" could be added into the Copy Attributes addon.)
The bone-specific custom properties can be stored in the edit_bones but this is problematic since edit_bones can only be accessed when the skeleton is in edit mode.
Alternatively, the custom properties names can be pre/suffixed with the bone's name, which is ofc pretty redundant, but it prevents the bug since the property names will no longer match.