eda2f11f7a4bef34c5176d0f3e2bfacf2b0394af
Most of the old Animato properties on an Action (e.g. FCurve list, Channel Groups) already act as proxies for the data for the first slot in the first strip of the first layer. (Say that three times fast!) However, this was not yet the case for `Action.id_root`. This PR changes `Action.id_root` to act as a proxy for the first Slot's `target_id_type` property, both for reading and writing. If the Action has no Slots, then reading always returns 'UNSPECIFIED', and writing will create a Slot and set its `target_id_type`. Note that the ability to write to the first Slot's `target_id_type` via `Action.id_root` conflicts with `target_id_type` supposedly only being writable when it's still 'UNSPECIFIED' (#133883). Although that's certainly a little weird, practically speaking this doesn't break anything for now, and is a temporary kludge to keep `id_root` working until we can remove it in Blender 5.0. `id_root` will be removed entirely in 5.0, resolving this inconsistency. Pull Request: https://projects.blender.org/blender/blender/pulls/133823
…
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%
