diff options
author | Julian Eisel <julian@blender.org> | 2021-10-06 15:50:15 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2021-10-06 17:36:20 +0300 |
commit | 2012d541ae3b9fb4ef099e7c490083b463e60d4f (patch) | |
tree | 7cb0cb208eb8393c6055ccfe855ac820e12f7bb2 /source/blender/editors/space_file | |
parent | 12c66854bd02c27595d41a83301638f4e46fa29a (diff) |
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.
Diffstat (limited to 'source/blender/editors/space_file')
-rw-r--r-- | source/blender/editors/space_file/asset_catalog_tree_view.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/editors/space_file/asset_catalog_tree_view.cc b/source/blender/editors/space_file/asset_catalog_tree_view.cc index 85912268286..552a0a7acd0 100644 --- a/source/blender/editors/space_file/asset_catalog_tree_view.cc +++ b/source/blender/editors/space_file/asset_catalog_tree_view.cc @@ -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); |