e5ef601cd9da74d228df9e2ed2e952bad8f16f02
dependencies_id_types for Actions a value dynamically
Instead of hard-coding `IDType_ID_AC.dependencies_id_types = FILTER_ID_ALL`, which is overly broad, determine its value dynamically in `id_type_init()` so that it's purely based on which `IDType`s identify as 'animatable'. This should make things like ID remapping a bit more efficient, as the remapping code knows that an Action will only reference animatable data-blocks. Note that the initial value for the filter is still `FILTER_ID_ALL`, so that in cases where (by accident) the call to `BKE_idtype_init()` is omitted, semantically the situation is still correct. Not calling this function is an easy to make oversight when writing unit tests. Pull Request: https://projects.blender.org/blender/blender/pulls/124357
…
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%
