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:
authorJacques Lucke <jacques@blender.org>2021-09-22 20:45:47 +0300
committerJacques Lucke <jacques@blender.org>2021-09-22 20:45:47 +0300
commit02bde2c1d5bbf1ea44209a618eb1947ea1d6cd25 (patch)
tree5651a99a39a76e05f50a2fddc0252c235f0c6371 /source/blender/nodes
parenta28ec920884c63fbef72cf5af75cd446744009ca (diff)
Cleanup: add using declarations
Diffstat (limited to 'source/blender/nodes')
-rw-r--r--source/blender/nodes/NOD_geometry_exec.hh2
-rw-r--r--source/blender/nodes/geometry/nodes/node_geo_input_position.cc2
2 files changed, 3 insertions, 1 deletions
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<float3> position_field{
- std::make_shared<bke::AttributeFieldInput>("position", CPPType::get<float3>())};
+ std::make_shared<AttributeFieldInput>("position", CPPType::get<float3>())};
params.set_output("Position", std::move(position_field));
}