diff options
author | Hans Goudey <h.goudey@me.com> | 2021-09-08 01:05:58 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-09-08 01:05:58 +0300 |
commit | 1680c3d5104d5c33a18790023b1b29d16106afe2 (patch) | |
tree | 73b4b3ec1fd0c7fe30902b7674474f3dfb5d1eeb | |
parent | e6a1d488ab7968729ec450f7f5674a49a555dbbd (diff) |
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.
-rw-r--r-- | source/blender/nodes/geometry/nodes/node_geo_point_instance.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |