Not all components of Drivers are copied over. #97
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Blender Version
3.4.1, branch: blender-v3.4-release, commit: 2022-12-19
CloudRig Version: (0, 0, 8) (2023-02-24 06:37)
Description of the problem:
The cloud_copy rig type seems to delete all keyframes for any drivers found on the copied bone upon rig generation. I've only noticed it with cloud_copy, but it might affect others as well.
Attached .blend file to reproduce the problem:
Cloudrig_Copy_Keyframe_Bug.blend
changed the description
changed title from {-Rig type "cloud_copy" clears Driver Keyframes upon Rig Generation-}. to {+Not all components of Drivers are copied over+}.
Thanks for the report.
I see this as a legit issue, but instead of fixing it on my end, I want to try and get some Blender devs to expose a proper API for copying drivers, to Python. Since it's already implemented in Blender via the "Copy/Paste Driver" buttons, if that functionality could just be exposed to Python, we wouldn't need to implement and maintain 100+ lines of code just to copy paste drivers, in several add-ons used here at the Blender Studio. (CloudRig, Asset Pipeline, Blender's built-in Rigify. The built-in Copy Attributes add-on could also be better if it copied drivers along with modifiers/constraints/custom properties.
So, copying drivers needs to be a part of core Blender's PyAPI, ASAP, and then this can be resolved easily.