Anim: fix animation paths when renaming bone collections #120517

Merged
Sybren A. Stüvel merged 1 commits from dr.sybren/blender:pr/fix-bonecoll-anim-driver-rename into main 2024-04-11 15:41:11 +02:00

1 Commits

Author SHA1 Message Date
Sybren A. Stüvel 5009428507 Anim: fix animation paths when renaming bone collections
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-windows-amd64 Build done. Details
buildbot/vexp-code-patch-darwin-x86_64 Build done. Details
buildbot/vexp-code-patch-coordinator Build done. Details
Bone collections are drawn in the new tree view by accessing properties
from `armature.collections_all[...]`, which means that drivers and
fcurves also target those. This is now taken into account when updating
the bone collection name.

For context: in Blender 4.0 the UIList used `.collections[...]` instead,
for which renaming was already handled properly.
2024-04-11 12:29:46 +02:00