From 1680c3d5104d5c33a18790023b1b29d16106afe2 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Tue, 7 Sep 2021 17:05:58 -0500 Subject: UI: Remove label of mode in Point Instance node There isn't enough space for this label at the default node width, and it was obvious what the drop-down is doing anyway. --- source/blender/nodes/geometry/nodes/node_geo_point_instance.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/nodes/geometry/nodes/node_geo_point_instance.cc b/source/blender/nodes/geometry/nodes/node_geo_point_instance.cc index f5ab9c053c1..72e9e8f5c29 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_point_instance.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_point_instance.cc @@ -38,7 +38,7 @@ static void geo_node_point_instance_declare(NodeDeclarationBuilder &b) static void geo_node_point_instance_layout(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr) { - uiItemR(layout, ptr, "instance_type", 0, nullptr, ICON_NONE); + uiItemR(layout, ptr, "instance_type", 0, "", ICON_NONE); if (RNA_enum_get(ptr, "instance_type") == GEO_NODE_POINT_INSTANCE_TYPE_COLLECTION) { uiItemR(layout, ptr, "use_whole_collection", 0, nullptr, ICON_NONE); } -- cgit v1.2.3