cb6ed12ef1f3ed9ce413acb13f6ed25d58705cc9
When inserting keys, look on related IDs for an action to reuse that. This will make use of the slot system on the new layered action to ensure the animation data doesn't collide. This is done on the `id_action_ensure` function since that is the common function to get an action off an `ID`. IDs with more than 1 user will be skipped. "Related ID" in this case is hardcoded with a `switch` statement for each ID type. The system builds a list starting from the ID that should be keyed and keeps expanding the list until an action is found or no more non-duplicate IDs can be added. (This is using linear search for duplicate checks, but I don't think we will deal with a lot of IDs in this case) Pull Request: https://projects.blender.org/blender/blender/pulls/126655
…
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%
