Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/library.c
| Show First 20 Lines • Show All 78 Lines • ▼ Show 20 Lines | IDTypeInfo IDType_ID_LI = { | ||||
| .foreach_cache = NULL, | .foreach_cache = NULL, | ||||
| .blend_write = NULL, | .blend_write = NULL, | ||||
| .blend_read_data = NULL, | .blend_read_data = NULL, | ||||
| .blend_read_lib = NULL, | .blend_read_lib = NULL, | ||||
| .blend_read_expand = NULL, | .blend_read_expand = NULL, | ||||
| .blend_read_undo_preserve = NULL, | .blend_read_undo_preserve = NULL, | ||||
| .lib_override_apply_post = NULL, | |||||
| }; | }; | ||||
| void BKE_library_filepath_set(Main *bmain, Library *lib, const char *filepath) | void BKE_library_filepath_set(Main *bmain, Library *lib, const char *filepath) | ||||
| { | { | ||||
| /* in some cases this is used to update the absolute path from the | /* in some cases this is used to update the absolute path from the | ||||
| * relative */ | * relative */ | ||||
| if (lib->filepath != filepath) { | if (lib->filepath != filepath) { | ||||
| BLI_strncpy(lib->filepath, filepath, sizeof(lib->filepath)); | BLI_strncpy(lib->filepath, filepath, sizeof(lib->filepath)); | ||||
| Show All 18 Lines | |||||