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.
This commit is contained in:
Hans Goudey 2021-09-07 17:05:58 -05:00
parent e6a1d488ab
commit 1680c3d510
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}