Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_space_types.h
| Show First 20 Lines • Show All 805 Lines • ▼ Show 20 Lines | typedef struct FileAssetSelectParams { | ||||
| AssetLibraryReference asset_library_ref; | AssetLibraryReference asset_library_ref; | ||||
| short import_type; /* eFileAssetImportType */ | short import_type; /* eFileAssetImportType */ | ||||
| char _pad[6]; | char _pad[6]; | ||||
| } FileAssetSelectParams; | } FileAssetSelectParams; | ||||
| typedef enum eFileAssetImportType { | typedef enum eFileAssetImportType { | ||||
| /** Regular data-block linking. */ | |||||
| FILE_ASSET_IMPORT_LINK = 0, | FILE_ASSET_IMPORT_LINK = 0, | ||||
| /** Regular data-block appending (basically linking + "Make Local"). */ | |||||
| FILE_ASSET_IMPORT_APPEND = 1, | FILE_ASSET_IMPORT_APPEND = 1, | ||||
| /** Append data-block with the #BLO_LIBLINK_APPEND_LOCAL_ID_REUSE flag enabled. Some typically | |||||
| * heavy data dependencies (e.g. the image data-blocks of a material, the mesh of an object) may | |||||
| * be reused from an earlier append. */ | |||||
| FILE_ASSET_IMPORT_APPEND_REUSE = 2, | |||||
| } eFileAssetImportType; | } eFileAssetImportType; | ||||
sybren: I feel that, now that the old Link/Append behaviour is expanded upon, each option should get a… | |||||
| /** | /** | ||||
| * A wrapper to store previous and next folder lists (#FolderList) for a specific browse mode | * A wrapper to store previous and next folder lists (#FolderList) for a specific browse mode | ||||
| * (#eFileBrowse_Mode). | * (#eFileBrowse_Mode). | ||||
| */ | */ | ||||
| typedef struct FileFolderHistory { | typedef struct FileFolderHistory { | ||||
| struct FileFolderLists *next, *prev; | struct FileFolderLists *next, *prev; | ||||
| ▲ Show 20 Lines • Show All 1,197 Lines • Show Last 20 Lines | |||||
I feel that, now that the old Link/Append behaviour is expanded upon, each option should get a description of what they mean. At least the new option should describe what is appended and what is reused (or point to another place in the source code where this is explained).