Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/intern/wm_init_exit.c
| Show First 20 Lines • Show All 92 Lines • ▼ Show 20 Lines | |||||
| BKE_region_callback_refresh_tag_gizmomap_set(WM_gizmomap_tag_refresh); | BKE_region_callback_refresh_tag_gizmomap_set(WM_gizmomap_tag_refresh); | ||||
| BKE_library_callback_remap_editor_id_reference_set( | BKE_library_callback_remap_editor_id_reference_set( | ||||
| WM_main_remap_editor_id_reference); /* library.c */ | WM_main_remap_editor_id_reference); /* library.c */ | ||||
| BKE_spacedata_callback_id_remap_set(ED_spacedata_id_remap); /* screen.c */ | BKE_spacedata_callback_id_remap_set(ED_spacedata_id_remap); /* screen.c */ | ||||
| DEG_editors_set_update_cb(ED_render_id_flush_update, ED_render_scene_update); | DEG_editors_set_update_cb(ED_render_id_flush_update, ED_render_scene_update); | ||||
| ED_spacetypes_init(); /* editors/space_api/spacetype.c */ | ED_spacetypes_init(); /* editors/space_api/spacetype.c */ | ||||
| ED_file_init(); /* for fsmenu */ | |||||
| ED_node_init_butfuncs(); | ED_node_init_butfuncs(); | ||||
| BLF_init(); | BLF_init(); | ||||
| BLT_lang_init(); | BLT_lang_init(); | ||||
| /* Must call first before doing any '.blend' file reading, | /* Must call first before doing any '.blend' file reading, | ||||
| * since versioning code may create new IDs... See T57066. */ | * since versioning code may create new IDs... See T57066. */ | ||||
| BLT_lang_set(NULL); | BLT_lang_set(NULL); | ||||
| Show All 26 Lines | |||||
| 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); | ||||
| /* For fsMenu. Called here so can include user preference paths if needed. */ | |||||
| ED_file_init(); | |||||
| /* That one is generated on demand, we need to be sure it's clear on init. */ | /* That one is generated on demand, we need to be sure it's clear on init. */ | ||||
| IMB_thumb_clear_translations(); | 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); | ||||
| ▲ Show 20 Lines • Show All 92 Lines • Show Last 20 Lines | |||||