Blender  V2.93
Public Attributes | List of all members
Library Struct Reference

#include <DNA_ID.h>

Public Attributes

ID id
 
struct FileDatafiledata
 
char filepath [1024]
 
char filepath_abs [1024]
 
struct Libraryparent
 
struct PackedFilepackedfile
 
int temp_index
 
short versionfile
 
short subversionfile
 

Detailed Description

For each library file used, a Library struct is added to Main WARNING: readfile.c, expand_doit() reads this struct without DNA check!

Definition at line 348 of file DNA_ID.h.

Member Data Documentation

◆ filedata

struct FileData* Library::filedata

Definition at line 350 of file DNA_ID.h.

Referenced by read_library_file_data().

◆ filepath

char Library::filepath[1024]

◆ filepath_abs

char Library::filepath_abs[1024]

Run-time only, absolute file-path (set on read). This is only for convenience, filepath is the real path used on file read but in some cases its useful to access the absolute one.

Use BKE_library_filepath_set() rather than setting filepath directly and it will be kept in sync - campbell

Definition at line 362 of file DNA_ID.h.

Referenced by blo_find_main(), BLO_main_validate_libraries(), direct_link_library(), expand_doit_library(), id_us_ensure_real(), id_us_min(), library_link_end(), read_library_file_data(), and read_library_linked_id().

◆ id

ID Library::id

◆ packedfile

struct PackedFile* Library::packedfile

Definition at line 367 of file DNA_ID.h.

Referenced by BKE_packedfile_id_check(), and read_library_file_data().

◆ parent

struct Library* Library::parent

Set for indirectly linked libs, used in the outliner and while reading.

Definition at line 365 of file DNA_ID.h.

Referenced by expand_doit_library(), greasepencil_blend_read_lib(), and lib_relocate_do_remap().

◆ subversionfile

short Library::subversionfile

Definition at line 372 of file DNA_ID.h.

Referenced by read_library_file_data().

◆ temp_index

int Library::temp_index

Definition at line 370 of file DNA_ID.h.

Referenced by split_libdata().

◆ versionfile

short Library::versionfile

See BLENDER_FILE_VERSION, BLENDER_FILE_SUBVERSION, needed for do_versions.

Definition at line 372 of file DNA_ID.h.

Referenced by read_library_file_data().


The documentation for this struct was generated from the following file: