diff options
author | Hans Goudey <h.goudey@me.com> | 2022-07-07 16:15:29 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-07-07 16:15:29 +0300 |
commit | 9a4927031dade70e2fac42a5003ab4a21bfb9e3d (patch) | |
tree | 7937068fc5f2ae7cc2b2d4ebda007803440985cb /source/blender/editors/space_node | |
parent | ed7dc4282c034fded840ca69c428050af889742a (diff) |
Cleanup: Remove redundant filtering of legacy normal attribute
This is already done inside of `attribute_search_add_items`.
Diffstat (limited to 'source/blender/editors/space_node')
-rw-r--r-- | source/blender/editors/space_node/node_geometry_attribute_search.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/editors/space_node/node_geometry_attribute_search.cc b/source/blender/editors/space_node/node_geometry_attribute_search.cc index f08e23c8371..e328a86b0fd 100644 --- a/source/blender/editors/space_node/node_geometry_attribute_search.cc +++ b/source/blender/editors/space_node/node_geometry_attribute_search.cc @@ -113,14 +113,6 @@ static void attribute_search_update_fn( Vector<const GeometryAttributeInfo *> infos = get_attribute_info_from_context(*C, *data); - /* Remove the deprecated normal attribute from the search. */ - for (const int i : infos.index_range()) { - if (infos[i]->domain == ATTR_DOMAIN_FACE && infos[i]->name == "normal") { - infos.remove(i); - break; - } - } - ui::attribute_search_add_items(str, true, infos, items, is_first); } |