Fix: renaming an ID does not properly update actions in the NLA #120292

Merged
Philipp Oeser merged 1 commits from lichtwerk/blender:104055 into main 2024-04-11 14:32:26 +02:00

1 Commits

Author SHA1 Message Date
e8ec17ed6a Fix: renaming an ID does not properly update actions in the NLA
`BKE_animdata_fix_paths_rename` would tag the owner ID itself
(`ID_RECALC_SYNC_TO_EVAL`) upon renaming when a corresponding fcurve was
found/fixed, however the action itself wasnt tagged. "The action is an
own datablock, meaning, changes to f-curves need to copy those changes
to all evaluated versions of the action datablock" (wording from
4045730d58).

(this is also the reason the action would "fix" itself after entering
tweakmode on it in the NLA, since that ripples down to
`ANIM_list_elem_update` -- which does the tagging on the action then).

Part of #104055
2024-04-05 11:37:27 +02:00