From 22ee056c3abb0b58ca482d57afa51ae61cbed575 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Tue, 8 Jun 2021 11:11:49 -0500 Subject: Geometry Nodes: Rename bounding box mesh output to "Bounding Box" This was decided by the geometry nodes team, because the important part of this output is not that it's a mesh. --- source/blender/nodes/geometry/nodes/node_geo_bounding_box.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/nodes') diff --git a/source/blender/nodes/geometry/nodes/node_geo_bounding_box.cc b/source/blender/nodes/geometry/nodes/node_geo_bounding_box.cc index f1731052515..83d3558a7cd 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_bounding_box.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_bounding_box.cc @@ -25,7 +25,7 @@ static bNodeSocketTemplate geo_node_bounding_box_in[] = { }; static bNodeSocketTemplate geo_node_bounding_box_out[] = { - {SOCK_GEOMETRY, N_("Mesh")}, + {SOCK_GEOMETRY, N_("Bounding Box")}, {SOCK_VECTOR, N_("Min")}, {SOCK_VECTOR, N_("Max")}, {-1, ""}, @@ -149,7 +149,7 @@ static void geo_node_bounding_box_exec(GeoNodeExecParams params) } if (min == float3(FLT_MAX)) { - params.set_output("Mesh", GeometrySet()); + params.set_output("Bounding Box", GeometrySet()); params.set_output("Min", float3(0)); params.set_output("Max", float3(0)); } @@ -158,7 +158,7 @@ static void geo_node_bounding_box_exec(GeoNodeExecParams params) const float3 center = min + scale / 2.0f; Mesh *mesh = create_cube_mesh(1.0f); transform_mesh(mesh, center, float3(0), scale); - params.set_output("Mesh", GeometrySet::create_with_mesh(mesh)); + params.set_output("Bounding Box", GeometrySet::create_with_mesh(mesh)); params.set_output("Min", min); params.set_output("Max", max); } -- cgit v1.2.3