124bae5a4d5e3463bfe06bd6475246cf5d1be2dd
action_treat_as_legacy() where appropriate
Previously we were using a bespoke hodgepodge of `Action::is_action_legacy()` and `Action::is_action_layered()`, sometimes in combination with checking for the Baklava feature flag, when what we really meant is "Should this action be treated as legacy or not?" This commit changes the places where that's semantically what we meant to use `action_treat_as_legacy()`. Some of those places were already correct, using a compound conditional, but some of them weren't, and thus were not always branching correctly. For those latter cases, this commit is a bug fix. Importantly, not all uses of bare `Action::is_action_legacy()` or `Action::is_action_layered()` are semantically incorrect: there are many places where that is the right thing to do. This commit takes care not to touch those places. Pull Request: https://projects.blender.org/blender/blender/pulls/128174
…
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%
