diff options
author | Hans Goudey <h.goudey@me.com> | 2021-01-26 07:20:41 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-01-26 07:20:41 +0300 |
commit | e9e054b987e5107308e3636f3a5aad18d961c2fe (patch) | |
tree | cda32937f2e509b6843c908be6740b3f3f66a3de /source/blender/nodes | |
parent | 71a8e32dc0c0ae899fe1a9bd3a34f9f2ef52d196 (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.cc | 2 |
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: |