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:
authorHans Goudey <h.goudey@me.com>2021-01-26 07:20:41 +0300
committerHans Goudey <h.goudey@me.com>2021-01-26 07:20:41 +0300
commite9e054b987e5107308e3636f3a5aad18d961c2fe (patch)
treecda32937f2e509b6843c908be6740b3f3f66a3de /source/blender/nodes
parent71a8e32dc0c0ae899fe1a9bd3a34f9f2ef52d196 (diff)
Geometry Nodes: Add float2 to attribute complexity map
Diffstat (limited to 'source/blender/nodes')
-rw-r--r--source/blender/nodes/geometry/node_geometry_util.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/nodes/geometry/node_geometry_util.cc b/source/blender/nodes/geometry/node_geometry_util.cc
index 53af6073793..daaccf4450b 100644
--- a/source/blender/nodes/geometry/node_geometry_util.cc
+++ b/source/blender/nodes/geometry/node_geometry_util.cc
@@ -54,6 +54,8 @@ static int attribute_data_type_complexity(const CustomDataType data_type)
return 1;
case CD_PROP_FLOAT:
return 2;
+ case CD_PROP_FLOAT2:
+ return 3;
case CD_PROP_FLOAT3:
return 4;
case CD_PROP_COLOR: