diff options
author | Julian Eisel <julian@blender.org> | 2022-01-19 22:02:23 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2022-01-19 22:12:53 +0300 |
commit | 293aab225339548dc25dc95d23276af38254f33a (patch) | |
tree | f339f347a862b775714a803de0ff6aece7764a88 /source/blender/makesdna | |
parent | 9a2d1cd5b7914ef41c24484986085a85ca83ebec (diff) |
Asset Browser: Add debug option to disable asset indexing
Adds an "Asset Indexing" option (enabled by default) to Preferences >
Experimental > Debugging. This is useful when working on the asset
library loading.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_userdef_types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h index a1a4f9381a3..15bb1ef920d 100644 --- a/source/blender/makesdna/DNA_userdef_types.h +++ b/source/blender/makesdna/DNA_userdef_types.h @@ -655,6 +655,7 @@ typedef struct UserDef_Experimental { char use_cycles_debug; char use_geometry_nodes_legacy; char show_asset_debug_info; + char no_asset_indexing; char SANITIZE_AFTER_HERE; /* The following options are automatically sanitized (set to 0) * when the release cycle is not alpha. */ @@ -665,7 +666,7 @@ typedef struct UserDef_Experimental { char use_sculpt_tools_tilt; char use_extended_asset_browser; char use_override_templates; - char _pad[2]; + char _pad[1]; /** `makesdna` does not allow empty structs. */ } UserDef_Experimental; |