Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/intern/wm_init_exit.c
| Show First 20 Lines • Show All 74 Lines • ▼ Show 20 Lines | |||||
| #include "BKE_studiolight.h" | #include "BKE_studiolight.h" | ||||
| #include "BKE_material.h" /* clear_matcopybuf */ | #include "BKE_material.h" /* clear_matcopybuf */ | ||||
| #include "BKE_tracking.h" /* free tracking clipboard */ | #include "BKE_tracking.h" /* free tracking clipboard */ | ||||
| #include "BKE_mask.h" /* free mask clipboard */ | #include "BKE_mask.h" /* free mask clipboard */ | ||||
| #include "RE_engine.h" | #include "RE_engine.h" | ||||
| #include "RE_pipeline.h" /* RE_ free stuff */ | #include "RE_pipeline.h" /* RE_ free stuff */ | ||||
| #include "IMB_thumbs.h" | |||||
| #ifdef WITH_PYTHON | #ifdef WITH_PYTHON | ||||
| # include "BPY_extern.h" | # include "BPY_extern.h" | ||||
| #endif | #endif | ||||
| #include "GHOST_Path-api.h" | #include "GHOST_Path-api.h" | ||||
| #include "GHOST_C-api.h" | #include "GHOST_C-api.h" | ||||
| #include "RNA_define.h" | #include "RNA_define.h" | ||||
| ▲ Show 20 Lines • Show All 203 Lines • ▼ Show 20 Lines | wm_homefile_read(C, | ||||
| use_userdef, | use_userdef, | ||||
| NULL, | NULL, | ||||
| WM_init_state_app_template_get(), | WM_init_state_app_template_get(), | ||||
| &is_factory_startup); | &is_factory_startup); | ||||
| /* Call again to set from userpreferences... */ | /* Call again to set from userpreferences... */ | ||||
| BLT_lang_set(NULL); | BLT_lang_set(NULL); | ||||
| /* That one is generated on demand, we need to be sure it's clear on init. */ | |||||
| IMB_thumb_clear_translations(); | |||||
| if (!G.background) { | if (!G.background) { | ||||
| #ifdef WITH_INPUT_NDOF | #ifdef WITH_INPUT_NDOF | ||||
| /* sets 3D mouse deadzone */ | /* sets 3D mouse deadzone */ | ||||
| WM_ndof_deadzone_set(U.ndof_deadzone); | WM_ndof_deadzone_set(U.ndof_deadzone); | ||||
| #endif | #endif | ||||
| WM_init_opengl(G_MAIN); | WM_init_opengl(G_MAIN); | ||||
| ▲ Show 20 Lines • Show All 368 Lines • Show Last 20 Lines | |||||