Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/BLO_readfile.h
| Show First 20 Lines • Show All 220 Lines • ▼ Show 20 Lines | void BLO_library_link_end(struct Main *mainl, | ||||
| const struct LibraryLink_Params *params); | const struct LibraryLink_Params *params); | ||||
| int BLO_library_link_copypaste(struct Main *mainl, BlendHandle *bh, const uint64_t id_types_mask); | int BLO_library_link_copypaste(struct Main *mainl, BlendHandle *bh, const uint64_t id_types_mask); | ||||
| /** | /** | ||||
| * Struct for temporarily loading datablocks from a blend file. | * Struct for temporarily loading datablocks from a blend file. | ||||
| */ | */ | ||||
| typedef struct TempLibraryContext { | typedef struct TempLibraryContext { | ||||
| struct Main *temp_main; | /** Temporary main used for library data. */ | ||||
| struct Main *bmain_lib; | |||||
| /** Temporary main used to load data into (currently initialized from `real_main`). */ | |||||
| struct Main *bmain_base; | |||||
| struct BlendHandle *blendhandle; | struct BlendHandle *blendhandle; | ||||
| struct LibraryLink_Params liblink_params; | struct LibraryLink_Params liblink_params; | ||||
| struct Library *lib; | struct Library *lib; | ||||
| /* The ID datablock that was loaded. Is NULL if loading failed. */ | /* The ID datablock that was loaded. Is NULL if loading failed. */ | ||||
| struct ID *temp_id; | struct ID *temp_id; | ||||
| } TempLibraryContext; | } TempLibraryContext; | ||||
| ▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines | |||||