[Bf-blender-cvs] [e9e054b987e] master: Geometry Nodes: Add float2 to attribute complexity map
Hans Goudey
noreply at git.blender.org
Tue Jan 26 05:20:43 CET 2021
Commit: e9e054b987e5107308e3636f3a5aad18d961c2fe
Author: Hans Goudey
Date: Mon Jan 25 22:20:41 2021 -0600
Branches: master
https://developer.blender.org/rBe9e054b987e5107308e3636f3a5aad18d961c2fe
Geometry Nodes: Add float2 to attribute complexity map
===================================================================
M source/blender/nodes/geometry/node_geometry_util.cc
===================================================================
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:
More information about the Bf-blender-cvs
mailing list