UI: Use gray color for float sockets in nodes

The shade is too close to RGBA sockets.

Related to T82689
This commit is contained in:
Pablo Vazquez
2021-01-13 17:17:39 +01:00
parent 7d749720ad
commit bae4d00e2a

View File

@@ -3505,7 +3505,7 @@ 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.75, 0.75, 0.59, 1.0}, /* SOCK_FLOAT */
{0.63, 0.63, 0.63, 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.88, 0.43, 0.46, 1.0}, /* SOCK_SHADER */