|
Blender
V2.93
|
#include <DNA_space_types.h>
Public Attributes | |
| short | type |
| char | _pad [2] |
| int | custom_library_index |
Information to identify a asset library. May be either one of the predefined types (current 'Main', builtin library, project library), or a custom type as defined in the Preferences.
If the type is set to FILE_ASSET_LIBRARY_CUSTOM, idname must have the name to identify the custom library. Otherwise idname is not used.
Definition at line 705 of file DNA_space_types.h.
| char FileSelectAssetLibraryUID::_pad[2] |
Definition at line 707 of file DNA_space_types.h.
| int FileSelectAssetLibraryUID::custom_library_index |
If showing a custom asset library (FILE_ASSET_LIBRARY_CUSTOM), this is the index of the bUserAssetLibrary within UserDef.asset_libraries. Should be ignored otherwise (but better set to -1 then, for sanity and debugging).
Definition at line 713 of file DNA_space_types.h.
Referenced by filelist_compare_asset_libraries(), and fileselect_ensure_updated_asset_params().
| short FileSelectAssetLibraryUID::type |
Definition at line 706 of file DNA_space_types.h.
Referenced by file_draw_hint_if_invalid(), filelist_compare_asset_libraries(), and fileselect_ensure_updated_asset_params().