Anim: implement "Copy Driver to Selected" operator #120936

Merged
Nathan Vegdahl merged 19 commits from nathanvegdahl/blender:copy_driver_to_selected_120518 into main 2024-04-29 18:35:06 +02:00

19 Commits

Author SHA1 Message Date
Nathan Vegdahl a46045606a Merge branch 'main' into copy_driver_to_selected_120518 2024-04-29 18:28:42 +02:00
Nathan Vegdahl a493f63ce6 Minor cleanup of fcurve rna path rename code
buildbot/vexp-code-patch-lint Build done. Details
buildbot/vexp-code-patch-linux-x86_64 Build done. Details
buildbot/vexp-code-patch-darwin-arm64 Build done. Details
buildbot/vexp-code-patch-darwin-x86_64 Build done. Details
buildbot/vexp-code-patch-windows-amd64 Build done. Details
buildbot/vexp-code-patch-coordinator Build done. Details
2024-04-29 17:43:07 +02:00
Nathan Vegdahl b0a1387edc Unit test cleanups 2024-04-29 17:17:38 +02:00
Nathan Vegdahl 537e9c7c3f Missed a search-and-replace when changing unit tests to quaternions 2024-04-29 17:00:20 +02:00
Nathan Vegdahl d90785ef70 More comprehensive unit tests 2024-04-29 16:58:55 +02:00
Nathan Vegdahl de5be2490b First pass at adding unit tests 2024-04-29 16:28:57 +02:00
Nathan Vegdahl 05fb753280 Address more review comments 2024-04-29 12:07:34 +02:00
Nathan Vegdahl d1afc2a268 Address more review comments 2024-04-29 10:40:39 +02:00
Nathan Vegdahl 75e330e8a9 Refactor get/paste driver code out into separate functions
buildbot/vexp-code-patch-lint Build done. Details
buildbot/vexp-code-patch-darwin-x86_64 Build done. Details
buildbot/vexp-code-patch-darwin-arm64 Build done. Details
buildbot/vexp-code-patch-linux-x86_64 Build done. Details
buildbot/vexp-code-patch-windows-amd64 Build done. Details
buildbot/vexp-code-patch-coordinator Build done. Details
2024-04-25 17:53:33 +02:00
Nathan Vegdahl 85f2f4992c Add "all" variant of Copy Driver to Selected 2024-04-25 16:14:15 +02:00
Nathan Vegdahl d665b91841 Don't copy driver to properties that are already animated 2024-04-23 16:05:43 +02:00
Nathan Vegdahl 7924efaa52 Address one more low-hanging review comment 2024-04-23 11:20:14 +02:00
Nathan Vegdahl de779cbfe0 Address low-hanging PR comments 2024-04-23 11:15:19 +02:00
Nathan Vegdahl d471340c81 Clean up code comments
buildbot/vexp-code-patch-lint Build done. Details
buildbot/vexp-code-patch-darwin-x86_64 Build done. Details
buildbot/vexp-code-patch-darwin-arm64 Build done. Details
buildbot/vexp-code-patch-linux-x86_64 Build done. Details
buildbot/vexp-code-patch-windows-amd64 Build done. Details
buildbot/vexp-code-patch-coordinator Build done. Details
2024-04-23 09:52:47 +02:00
Nathan Vegdahl 662ce765b5 Use the right function for finding the ID and RNA paths of properties
Apparently the "real" ID isn't the real ID in the sense I would have
expected.
2024-04-23 09:14:14 +02:00
Nathan Vegdahl 1fe067f0c2 Remove unneeded function parameter from check function
I added it earlier while just getting things working, but the thing
it triggered can just be moved directly into the copy driver function.
2024-04-23 08:21:21 +02:00
Nathan Vegdahl 2a3d884f31 Missed a rename 2024-04-22 18:23:39 +02:00
Nathan Vegdahl 3d314b0ac7 Misc cleanup
No functional change.
2024-04-22 18:21:07 +02:00
Nathan Vegdahl e1312e22b9 WIP: Anim: implement "Copy Driver to Selected" operator 2024-04-22 14:54:44 +02:00