Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2020-10-20 16:31:59 +0300
committerJacques Lucke <jacques@blender.org>2020-12-02 17:38:47 +0300
commit69f57550bcc78b8a1fba1afc3a7d5e98b6c16ae9 (patch)
tree01a9034228d9fc3e57a80f0cd32305a77d5fec23 /source/blender/editors/space_node
parent1d6284a6d5c4e2d508aeee2f1a20542db319b335 (diff)
Nodes: add geometry socket type
We still have to pick a color for this socket. Ref T81848.
Diffstat (limited to 'source/blender/editors/space_node')
-rw-r--r--source/blender/editors/space_node/drawnode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_node/drawnode.c b/source/blender/editors/space_node/drawnode.c
index c8bdf4ec29c..0cd08404d19 100644
--- a/source/blender/editors/space_node/drawnode.c
+++ b/source/blender/editors/space_node/drawnode.c
@@ -3333,6 +3333,7 @@ static const float std_node_socket_colors[][4] = {
{0.39, 0.39, 0.39, 1.0}, /* SOCK_STRING */
{0.40, 0.10, 0.10, 1.0}, /* SOCK_OBJECT */
{0.10, 0.40, 0.10, 1.0}, /* SOCK_IMAGE */
+ {0.00, 0.00, 0.00, 1.0}, /* SOCK_GEOMETRY, TODO: Choose color. */
};
/* common color callbacks for standard types */