Assets: Bundle essentials with Blender. (WIP)

Differential Revision: https://developer.blender.org/D17031
This commit is contained in:
Jacques Lucke 2023-01-18 16:48:13 +01:00
parent fe6ae405c5
commit 3d90d1acd4
1 changed files with 3 additions and 0 deletions

View File

@ -829,6 +829,9 @@ static bool asset_tag_matches_filter(const char *filter_search, const AssetMetaD
static bool is_filtered_asset(FileListInternEntry *file, FileListFilter *filter)
{
const AssetMetaData *asset_data = filelist_file_internal_get_asset_data(file);
if (asset_data == nullptr) {
return false;
}
/* Not used yet for the asset view template. */
if (filter->asset_catalog_filter && !file_is_asset_visible_in_catalog_filter_settings(