[Bf-blender-cvs] [214baf54226] master: Assets: Enable recursive reading for the asset view template as well
Julian Eisel
noreply at git.blender.org
Wed Sep 29 18:55:02 CEST 2021
Commit: 214baf5422607edf45d0b24b6fdf3710964224f8
Author: Julian Eisel
Date: Wed Sep 29 18:51:10 2021 +0200
Branches: master
https://developer.blender.org/rB214baf5422607edf45d0b24b6fdf3710964224f8
Assets: Enable recursive reading for the asset view template as well
This makes asset view templates, e.g. as used by the Pose Library add-on
use recursive asset loading, see
Also works around an issue that made assets not show up at all anymore
since fc7beac8d6f4. I'm creating a separate report for that regression,
but in the Asset Browser and Viewer it shouldn't be apparent currently.
===================================================================
M source/blender/editors/asset/intern/asset_list.cc
===================================================================
diff --git a/source/blender/editors/asset/intern/asset_list.cc b/source/blender/editors/asset/intern/asset_list.cc
index cda117533cd..400b3572c9b 100644
--- a/source/blender/editors/asset/intern/asset_list.cc
+++ b/source/blender/editors/asset/intern/asset_list.cc
@@ -157,7 +157,7 @@ void AssetList::setup()
/* Relevant bits from file_refresh(). */
/* TODO pass options properly. */
- filelist_setrecursion(files, 1);
+ filelist_setrecursion(files, FILE_SELECT_MAX_RECURSIONS);
filelist_setsorting(files, FILE_SORT_ALPHA, false);
filelist_setlibrary(files, &library_ref_);
filelist_setfilter_options(
More information about the Bf-blender-cvs
mailing list