From 02bde2c1d5bbf1ea44209a618eb1947ea1d6cd25 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Wed, 22 Sep 2021 19:45:47 +0200 Subject: [PATCH] Cleanup: add using declarations --- source/blender/nodes/NOD_geometry_exec.hh | 2 ++ source/blender/nodes/geometry/nodes/node_geo_input_position.cc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/source/blender/nodes/NOD_geometry_exec.hh b/source/blender/nodes/NOD_geometry_exec.hh index dbb5f8b240d..6ce3d0f2ab5 100644 --- a/source/blender/nodes/NOD_geometry_exec.hh +++ b/source/blender/nodes/NOD_geometry_exec.hh @@ -33,6 +33,8 @@ struct ModifierData; namespace blender::nodes { +using bke::AnonymousAttributeFieldInput; +using bke::AttributeFieldInput; using bke::AttributeIDRef; using bke::geometry_set_realize_instances; using bke::GeometryComponentFieldContext; diff --git a/source/blender/nodes/geometry/nodes/node_geo_input_position.cc b/source/blender/nodes/geometry/nodes/node_geo_input_position.cc index c6365bf6809..3f3457a3acb 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_input_position.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_input_position.cc @@ -26,7 +26,7 @@ static void geo_node_input_position_declare(NodeDeclarationBuilder &b) static void geo_node_input_position_exec(GeoNodeExecParams params) { Field position_field{ - std::make_shared("position", CPPType::get())}; + std::make_shared("position", CPPType::get())}; params.set_output("Position", std::move(position_field)); }