748d98dff2c0e9230edacb41a02fb2132b11160e
The `socket->index_in_tree()` method provides a unique index for that socket in the node tree (it's a cached runtime value). By construction, all input/output sockets of a node have consecutive numbers, but this (sometimes useful) fact is currently not exposed in the API. This patch adds new `input_socket_indices_in_tree` and `output_socket_indices_in_tree` methods to get the range of indices for all inputs or outputs of a node.
…
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%
