Blender Git Commit Log

Git Commits -> Revision 757611d

June 11, 2021, 15:11 (GMT)
Universal default value for attribute sockets.

This supports all the valid data types for attribute sockets:
float, int, bool, vector, color.

Type of default value can be changed by setting the "data_type" property
of the socket. Set to SOCK_ATTRIBUTE to make it a generic attribute
without a default value.

Commit Details:

Full Hash: 757611dbd2d8b1c32bf568d7d3aca16d0adb75c9
Parent Commit: 8c7aa2f
Lines Changed: +296, -8

7 Modified Paths:

/source/blender/blenkernel/intern/node.cc (+3, -1) (Diff)
/source/blender/editors/space_node/drawnode.cc (+84, -3) (Diff)
/source/blender/editors/space_node/node_templates.cc (+34, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+10, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+127, -0) (Diff)
/source/blender/nodes/geometry/node_geometry_tree.cc (+9, -4) (Diff)
/source/blender/nodes/intern/node_socket.cc (+29, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021