diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2021-12-06 19:40:51 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2021-12-06 19:42:16 +0300 |
commit | 0c703b856b59d0542bc4e2b244afcfb5aa3a09e2 (patch) | |
tree | 7b0356b54a153981b348067c1785fe0d08cdbfcd /source/blender/editors/asset | |
parent | 86992a96b8ae77c879e1f4b9c55ec05bfccec0a9 (diff) |
Disable asset indexing in the Asset List
Asset indexing should be disabled, but this was overlooked in the
asset list (used for the pose library in the 3D View).
Diffstat (limited to 'source/blender/editors/asset')
-rw-r--r-- | source/blender/editors/asset/intern/asset_list.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/editors/asset/intern/asset_list.cc b/source/blender/editors/asset/intern/asset_list.cc index 6079e91d5f5..1a15d314c1f 100644 --- a/source/blender/editors/asset/intern/asset_list.cc +++ b/source/blender/editors/asset/intern/asset_list.cc @@ -49,6 +49,10 @@ #include "ED_asset_list.hh" #include "asset_library_reference.hh" +/* Enable asset indexing. Currently disabled as ID properties aren't indexed yet and is needed for + * object snapping. See {D12990}. */ +//#define SPACE_FILE_ENABLE_ASSET_INDEXING + namespace blender::ed::asset { /* -------------------------------------------------------------------- */ @@ -169,7 +173,10 @@ void AssetList::setup() true, "", ""); + +#ifdef SPACE_FILE_ENABLE_ASSET_INDEXING filelist_setindexer(files, &file_indexer_asset); +#endif char path[FILE_MAXDIR] = ""; if (user_library) { |