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:
authorHans Goudey <h.goudey@me.com>2021-10-27 17:33:50 +0300
committerHans Goudey <h.goudey@me.com>2021-10-27 17:33:50 +0300
commit87470169e07bfa9a06ea49232b78ca1f5da32fc3 (patch)
tree7379a32c2b766a4e68fa7fa56b7d32609adaf4db /source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_grid.cc
parentdc37990e24eb801e3ff9f9f0f42d364a0af0389e (diff)
Geometry Nodes: Rename more geometry sockets
This is a followup to rB827d7e7d252d48. After this we should be consistent everywhere with the hints in the names of geometry sockets.
Diffstat (limited to 'source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_grid.cc')
-rw-r--r--source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_grid.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_grid.cc b/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_grid.cc
index 858ef8648f8..056b88c0cc8 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_grid.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_grid.cc
@@ -33,7 +33,7 @@ static void geo_node_mesh_primitive_grid_declare(NodeDeclarationBuilder &b)
b.add_input<decl::Float>("Size Y").default_value(1.0f).min(0.0f).subtype(PROP_DISTANCE);
b.add_input<decl::Int>("Vertices X").default_value(3).min(2).max(1000);
b.add_input<decl::Int>("Vertices Y").default_value(3).min(2).max(1000);
- b.add_output<decl::Geometry>("Geometry");
+ b.add_output<decl::Geometry>("Mesh");
}
static void calculate_uvs(
@@ -160,7 +160,7 @@ static void geo_node_mesh_primitive_grid_exec(GeoNodeExecParams params)
const int verts_x = params.extract_input<int>("Vertices X");
const int verts_y = params.extract_input<int>("Vertices Y");
if (verts_x < 1 || verts_y < 1) {
- params.set_output("Geometry", GeometrySet());
+ params.set_output("Mesh", GeometrySet());
return;
}
@@ -168,7 +168,7 @@ static void geo_node_mesh_primitive_grid_exec(GeoNodeExecParams params)
BLI_assert(BKE_mesh_is_valid(mesh));
BKE_id_material_eval_ensure_default_slot(&mesh->id);
- params.set_output("Geometry", GeometrySet::create_with_mesh(mesh));
+ params.set_output("Mesh", GeometrySet::create_with_mesh(mesh));
}
} // namespace blender::nodes