9f4a0d230f98ca107f34ad4fa1cfa16cb6fbbecd
Action Slots point to the IDs they animate, and after swapping IDs they also need some swappage (as the Action that first animated `id_a` will now animate `id_b`, and vice versa). Instead of doing this in the `id_swap()` function (and requiring knowledge of how that's supposed to be done), just mark these pointers as dirty so that they're rebuilt at first use. This commit contains a little more code than strictly necessary, to add a function in BKE for this cache invalidation. This avoids having to have a dependency on the animrig module just for this purpose. Fixes: #130136 Pull Request: https://projects.blender.org/blender/blender/pulls/131809
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
