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:
parent
e6a1d488ab
commit
1680c3d510
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue