Cleanup: Add some documentation comments to some Main properties.
This commit is contained in:
@@ -204,9 +204,23 @@ struct Main {
|
||||
*/
|
||||
bool is_action_slot_to_id_map_dirty;
|
||||
|
||||
/**
|
||||
* The blendfile thumbnail. If set, it will show as image preview of the blendfile in the
|
||||
* system's filebrowser.
|
||||
*/
|
||||
BlendThumbnail *blen_thumb;
|
||||
|
||||
/**
|
||||
* The library matching the current Main.
|
||||
*
|
||||
* Typically `nullptr` (for the `G_MAIN` representing the currently opened blendfile).
|
||||
*
|
||||
* Mainly set and used during the blendfile read/write process when 'split' Mains are used to
|
||||
* isolate and process all linked IDs from a single library.
|
||||
*/
|
||||
Library *curlib;
|
||||
|
||||
/** Listbase for all ID types, containing all IDs for the current Main. */
|
||||
ListBase scenes;
|
||||
ListBase libraries;
|
||||
ListBase objects;
|
||||
@@ -265,8 +279,10 @@ struct Main {
|
||||
/** Used for efficient calculations of unique names. */
|
||||
UniqueName_Map *name_map;
|
||||
|
||||
/* Used for efficient calculations of unique names. Covers all names in current Main, including
|
||||
* linked data ones. */
|
||||
/**
|
||||
* Used for efficient calculations of unique names. Covers all names in current Main, including
|
||||
* linked data ones.
|
||||
*/
|
||||
UniqueName_Map *name_map_global;
|
||||
|
||||
MainLock *lock;
|
||||
|
||||
Reference in New Issue
Block a user