[Bf-blender-cvs] [fca6a9fe3fc] master: Asset Browser: Remove home icon for "All" item

Julian Eisel noreply at git.blender.org
Thu Dec 2 19:16:06 CET 2021


Commit: fca6a9fe3fc3e92e1ae0fa2b71fada38dc173099
Author: Julian Eisel
Date:   Thu Dec 2 19:11:34 2021 +0100
Branches: master
https://developer.blender.org/rBfca6a9fe3fc3e92e1ae0fa2b71fada38dc173099

Asset Browser: Remove home icon for "All" item

Originally this wasn't really meant to stay there permanently, but
helped giving things a nicer alignment. Others seemed to like it at
first so it stayed, but after more feedback we decided to remove it
again. The alingment is better now with the previous commit.

Part of T93582.

===================================================================

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 7d81693b39d..b8d469dfb65 100644
--- a/source/blender/editors/space_file/asset_catalog_tree_view.cc
+++ b/source/blender/editors/space_file/asset_catalog_tree_view.cc
@@ -230,8 +230,7 @@ AssetCatalogTreeViewAllItem &AssetCatalogTreeView::add_all_item()
 {
   FileAssetSelectParams *params = params_;
 
-  AssetCatalogTreeViewAllItem &item = add_tree_item<AssetCatalogTreeViewAllItem>(IFACE_("All"),
-                                                                                 ICON_HOME);
+  AssetCatalogTreeViewAllItem &item = add_tree_item<AssetCatalogTreeViewAllItem>(IFACE_("All"));
   item.set_on_activate_fn([params](ui::BasicTreeViewItem & /*item*/) {
     params->asset_catalog_visibility = FILE_SHOW_ASSETS_ALL_CATALOGS;
     WM_main_add_notifier(NC_SPACE | ND_SPACE_ASSET_PARAMS, nullptr);



More information about the Bf-blender-cvs mailing list