diff options
-rw-r--r-- | source/blender/nodes/geometry/nodes/node_geo_input_id.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_input_id.cc b/source/blender/nodes/geometry/nodes/node_geo_input_id.cc index 049dbf06d80..d267325c26b 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_input_id.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_input_id.cc @@ -25,7 +25,7 @@ static void geo_node_input_id_declare(NodeDeclarationBuilder &b) static void geo_node_input_id_exec(GeoNodeExecParams params) { - Field<int> position_field{AttributeFieldInput::Create<int>("id")}; + Field<int> position_field{std::make_shared<bke::IDAttributeFieldInput>()}; params.set_output("ID", std::move(position_field)); } |