Asset Browser: Always show icon to add catalog next to "All" item
Feedback was that it's unclear sometimes how to add a new item and that some people expect a button to add a new item next to the "All" item.
This commit is contained in:
parent
12c66854bd
commit
2012d541ae
|
@ -339,10 +339,6 @@ void AssetCatalogTreeViewAllItem::build_row(uiLayout &row)
|
|||
{
|
||||
ui::BasicTreeViewItem::build_row(row);
|
||||
|
||||
if (!is_active()) {
|
||||
return;
|
||||
}
|
||||
|
||||
PointerRNA *props;
|
||||
props = UI_but_extra_operator_icon_add(
|
||||
button(), "ASSET_OT_catalog_new", WM_OP_INVOKE_DEFAULT, ICON_ADD);
|
||||
|
|
Loading…
Reference in New Issue