diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2021-10-22 17:40:24 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2021-10-22 17:40:24 +0300 |
commit | 7ef3fe492eaa63f9b84021abcaba27745aff8e13 (patch) | |
tree | 92d642fef8c98b4cdebee2c004e6f5b46f427186 /source/blender/editors/space_file | |
parent | cd6fc651cec1d45e206ba5dce38dd120e2e8a8c4 (diff) |
Asset Browser: fix issue rebuilding the visible asset filter
Diffstat (limited to 'source/blender/editors/space_file')
-rw-r--r-- | source/blender/editors/space_file/asset_catalog_tree_view.cc | 2 |
1 files changed, 1 insertions, 1 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 3b26a66cd05..c305a11daf4 100644 --- a/source/blender/editors/space_file/asset_catalog_tree_view.cc +++ b/source/blender/editors/space_file/asset_catalog_tree_view.cc @@ -475,7 +475,7 @@ void file_ensure_updated_catalog_filter_data( const AssetCatalogService *catalog_service = BKE_asset_library_get_catalog_service( asset_library); - if (filter_settings->asset_catalog_visibility == FILE_SHOW_ASSETS_FROM_CATALOG) { + if (filter_settings->asset_catalog_visibility != FILE_SHOW_ASSETS_ALL_CATALOGS) { filter_settings->catalog_filter = std::make_unique<AssetCatalogFilter>( catalog_service->create_catalog_filter(filter_settings->asset_catalog_id)); } |