Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/cachefile.c
| Show First 20 Lines • Show All 136 Lines • ▼ Show 20 Lines | IDTypeInfo IDType_ID_CF = { | ||||
| .foreach_cache = NULL, | .foreach_cache = NULL, | ||||
| .blend_write = cache_file_blend_write, | .blend_write = cache_file_blend_write, | ||||
| .blend_read_data = cache_file_blend_read_data, | .blend_read_data = cache_file_blend_read_data, | ||||
| .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, | |||||
| }; | }; | ||||
| /* TODO: make this per cache file to avoid global locks. */ | /* TODO: make this per cache file to avoid global locks. */ | ||||
| static SpinLock spin; | static SpinLock spin; | ||||
| void BKE_cachefiles_init(void) | void BKE_cachefiles_init(void) | ||||
| { | { | ||||
| BLI_spin_init(&spin); | BLI_spin_init(&spin); | ||||
| ▲ Show 20 Lines • Show All 181 Lines • Show Last 20 Lines | |||||