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:
authorPablo Vazquez <pablo@blender.org>2020-12-02 15:06:11 +0300
committerJacques Lucke <jacques@blender.org>2020-12-02 17:38:47 +0300
commit96e131f246fe2760b559db827278e9e95de2de9e (patch)
tree993c3e0b8446256a803a41e9356b28bf7e79f2f0 /source/blender/editors/space_node
parent69f57550bcc78b8a1fba1afc3a7d5e98b6c16ae9 (diff)
UI: update node socket colors
Note: This also changes the Shader socket color, to match "Shading" in the Outliner. Theme update for shader nodes will be committed separately. Ref T82689.
Diffstat (limited to 'source/blender/editors/space_node')
-rw-r--r--source/blender/editors/space_node/drawnode.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/editors/space_node/drawnode.c b/source/blender/editors/space_node/drawnode.c
index 0cd08404d19..a0e03490fa3 100644
--- a/source/blender/editors/space_node/drawnode.c
+++ b/source/blender/editors/space_node/drawnode.c
@@ -3323,17 +3323,17 @@ void ED_init_custom_node_socket_type(bNodeSocketType *stype)
/* maps standard socket integer type to a color */
static const float std_node_socket_colors[][4] = {
- {0.63, 0.63, 0.63, 1.0}, /* SOCK_FLOAT */
+ {0.75, 0.75, 0.59, 1.0}, /* SOCK_FLOAT */
{0.39, 0.39, 0.78, 1.0}, /* SOCK_VECTOR */
{0.78, 0.78, 0.16, 1.0}, /* SOCK_RGBA */
- {0.39, 0.78, 0.39, 1.0}, /* SOCK_SHADER */
- {0.70, 0.65, 0.19, 1.0}, /* SOCK_BOOLEAN */
+ {0.88, 0.43, 0.46, 1.0}, /* SOCK_SHADER */
+ {0.80, 0.65, 0.84, 1.0}, /* SOCK_BOOLEAN */
{0.0, 0.0, 0.0, 1.0}, /*__SOCK_MESH (deprecated) */
- {0.06, 0.52, 0.15, 1.0}, /* SOCK_INT */
- {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. */
+ {0.25, 0.75, 0.26, 1.0}, /* SOCK_INT */
+ {0.44, 0.70, 1.00, 1.0}, /* SOCK_STRING */
+ {0.93, 0.62, 0.36, 1.0}, /* SOCK_OBJECT */
+ {0.89, 0.76, 0.43, 1.0}, /* SOCK_IMAGE */
+ {0.00, 0.84, 0.64, 1.0}, /* SOCK_GEOMETRY */
};
/* common color callbacks for standard types */