Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/intern/wm_files.c
| Context not available. | |||||
| /** | /** | ||||
| * Write #BLENDER_HISTORY_FILE as-is, without checking the environment | * Write #BLENDER_HISTORY_FILE as-is, without checking the environment | ||||
| * (thats handled by #wm_history_file_update). | * (that's handled by #wm_history_file_update). | ||||
| */ | */ | ||||
| static void wm_history_file_write(void) | static void wm_history_file_write(void) | ||||
| { | { | ||||
| Context not available. | |||||
| /* blend file thumbnail */ | /* blend file thumbnail */ | ||||
| /* save before exit_editmode, otherwise derivedmeshes for shared data corrupt #27765) */ | /* save before exit_editmode, otherwise derivedmeshes for shared data corrupt #27765) */ | ||||
| /* Main now can store a .blend thumbnail, usefull for background mode or thumbnail customization. */ | /* Main now can store a .blend thumbnail, useful for background mode or thumbnail customization. */ | ||||
| main_thumb = thumb = bmain->blen_thumb; | main_thumb = thumb = bmain->blen_thumb; | ||||
| if ((U.flag & USER_SAVE_PREVIEWS) && BLI_thread_is_main()) { | if ((U.flag & USER_SAVE_PREVIEWS) && BLI_thread_is_main()) { | ||||
| ibuf_thumb = blend_file_thumb(C, CTX_data_scene(C), CTX_wm_screen(C), &thumb); | ibuf_thumb = blend_file_thumb(C, CTX_data_scene(C), CTX_wm_screen(C), &thumb); | ||||
| Context not available. | |||||