f442c86197a15cf53128fc853580b1c8e49b3161
The goal here is to avoid having to cast to and from `ID` when getting the evaluated or original ID using the depsgraph API, which is often verbose and not type safe. To solve this, there are now `DEG_get_original` and `DEG_get_evaluated` methods which are templated on the type and use a new `is_ID_v` static type check to make sure it's only used with valid types. This allows removing quite some verbosity on all the call sites. I also removed `DEG_get_original_object`, because that does not have to be a special case anymore. Pull Request: https://projects.blender.org/blender/blender/pulls/137629
…
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%
