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:
-rw-r--r--source/blender/nodes/function/nodes/node_fn_random_value.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/nodes/function/nodes/node_fn_random_value.cc b/source/blender/nodes/function/nodes/node_fn_random_value.cc
index c68af7e24af..ceea6246cb0 100644
--- a/source/blender/nodes/function/nodes/node_fn_random_value.cc
+++ b/source/blender/nodes/function/nodes/node_fn_random_value.cc
@@ -110,9 +110,8 @@ static std::optional<CustomDataType> node_type_from_other_socket(const bNodeSock
case SOCK_INT:
return CD_PROP_INT32;
case SOCK_VECTOR:
- return CD_PROP_FLOAT3;
case SOCK_RGBA:
- return CD_PROP_COLOR;
+ return CD_PROP_FLOAT3;
default:
return {};
}