Blender Git Loki

Git Commits -> Revision c700475

July 3, 2021, 12:10 (GMT)
New function for changing socket type by idname.

The static integer type is only a subset of all socket types available.
To support changing to a custom socket type the nodeModifySocketType
function now takes the idname instead, while nodeModifySocketTypeStatic
implements the old behavior with integer type where it is still needed.

Commit Details:

Full Hash: c7004755fb97b6f789597714fec6099ee277bd2b
Parent Commit: 3dae0bf
Lines Changed: +28, -11

6 Modified Paths:

/source/blender/blenkernel/BKE_node.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/node.cc (+22, -7) (Diff)
/source/blender/editors/space_node/node_edit.cc (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+1, -1) (Diff)
/source/blender/nodes/intern/node_common.c (+1, -1) (Diff)
/source/blender/nodes/intern/node_socket.cc (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021