259c98fa7260f7730c09953bbc7a60d4552f45d4
The `bNode.type_legacy` is still used in many places to check if a node is a specific type. However, going forward it's better to rely more on the idname than on this legacy integer type. Some more information is available in #132858. The added utility method can be used like so: `node->is_type("GeometryNodeMenuSwitch")`. Previously one would have written `node->type_legacy == GEO_NODE_MENU_SWITCH`. The `is_type` method internally checks that the passed in string is a valid node identifier to make it more likely that we catch typos early. Pull Request: https://projects.blender.org/blender/blender/pulls/132863
…
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%
