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 { | ||||
| FILE_ASSET_IMPORT_LINK = 0, | FILE_ASSET_IMPORT_LINK = 0, | ||||
| FILE_ASSET_IMPORT_APPEND = 1, | FILE_ASSET_IMPORT_APPEND = 1, | ||||
| FILE_ASSET_IMPORT_APPEND_REUSE = 2, | |||||
sybren: I feel that, now that the old Link/Append behaviour is expanded upon, each option should get a… | |||||
| } eFileAssetImportType; | } eFileAssetImportType; | ||||
| /** | /** | ||||
| * 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,198 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).