Not all components of Drivers are copied over. #97

Closed
opened 2023-03-27 02:50:29 +02:00 by ThaliaSolari · 3 comments
ThaliaSolari commented 2023-03-27 02:50:29 +02:00 (Migrated from gitlab.com)

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

**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](https://developer.blender.org/rB55485cb379f7) **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](/uploads/c5dba72452050403197af4d6c35ed0e3/Cloudrig_Copy_Keyframe_Bug.blend)
ThaliaSolari commented 2023-03-27 02:51:41 +02:00 (Migrated from gitlab.com)

changed the description

changed the description
Mets3D commented 2023-08-02 12:20:48 +02:00 (Migrated from gitlab.com)

changed title from {-Rig type "cloud_copy" clears Driver Keyframes upon Rig Generation-}. to {+Not all components of Drivers are copied over+}.

changed title from **{-Rig type "cloud_copy" clears Driver Keyframes upon Rig Generation-}.** to **{+Not all components of Drivers are copied over+}.**
Mets3D commented 2023-08-02 12:25:24 +02:00 (Migrated from gitlab.com)

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.

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.
Sign in to join this conversation.
No description provided.