Commit: 2012d541ae3b9fb4ef099e7c490083b463e60d4f Author: Julian Eisel Date: Wed Oct 6 14:50:15 2021 +0200 Branches: master https://developer.blender.org/rB2012d541ae3b9fb4ef099e7c490083b463e60d4f
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. =================================================================== M source/blender/editors/space_file/asset_catalog_tree_view.cc =================================================================== 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); _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org List details, subscription details or unsubscribe: https://lists.blender.org/mailman/listinfo/bf-blender-cvs