diff options
author | Johnny Matthews <johnny.matthews@gmail.com> | 2022-01-21 18:01:18 +0300 |
---|---|---|
committer | Johnny Matthews <johnny.matthews@gmail.com> | 2022-01-21 18:01:18 +0300 |
commit | 4251455dcd739bb54c4dda8d9fd64460660e5b5f (patch) | |
tree | cce58e289e8a6b223b491555d68af134f487fa26 /source/blender/nodes | |
parent | 87c5423c5e1e7b1907a336ce6b74dfd44bde5526 (diff) |
Geometry Nodes: Mesh Island Node - Rename Index Socket
Rename 'Index' Socket to 'Island Index' to make it more consistent with
'Island Count'
Differential Revision: https://developer.blender.org/D13893
Diffstat (limited to 'source/blender/nodes')
-rw-r--r-- | source/blender/nodes/geometry/nodes/node_geo_input_mesh_island.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_input_mesh_island.cc b/source/blender/nodes/geometry/nodes/node_geo_input_mesh_island.cc index ba4295017bc..68bb93bbb64 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_input_mesh_island.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_input_mesh_island.cc @@ -27,7 +27,7 @@ namespace blender::nodes::node_geo_input_mesh_island_cc { static void node_declare(NodeDeclarationBuilder &b) { - b.add_output<decl::Int>(N_("Index")) + b.add_output<decl::Int>(N_("Island Index")) .field_source() .description(N_("Island indices are based on the order of the lowest-numbered vertex " "contained in each island")); @@ -133,9 +133,9 @@ class IslandCountFieldInput final : public GeometryFieldInput { static void node_geo_exec(GeoNodeExecParams params) { - if (params.output_is_required("Index")) { + if (params.output_is_required("Island Index")) { Field<int> field{std::make_shared<IslandFieldInput>()}; - params.set_output("Index", std::move(field)); + params.set_output("Island Index", std::move(field)); } if (params.output_is_required("Island Count")) { Field<int> field{std::make_shared<IslandCountFieldInput>()}; |