Changeset View
Changeset View
Standalone View
Standalone View
source/creator/creator.c
| Show All 37 Lines | |||||
| #include "CLG_log.h" | #include "CLG_log.h" | ||||
| #include "DNA_genfile.h" | #include "DNA_genfile.h" | ||||
| #include "BLI_args.h" | #include "BLI_args.h" | ||||
| #include "BLI_string.h" | #include "BLI_string.h" | ||||
| #include "BLI_system.h" | #include "BLI_system.h" | ||||
| #include "BLI_task.h" | |||||
| #include "BLI_threads.h" | #include "BLI_threads.h" | ||||
| #include "BLI_utildefines.h" | #include "BLI_utildefines.h" | ||||
| /* mostly init functions */ | /* mostly init functions */ | ||||
| #include "BKE_appdir.h" | #include "BKE_appdir.h" | ||||
| #include "BKE_blender.h" | #include "BKE_blender.h" | ||||
| #include "BKE_brush.h" | #include "BKE_brush.h" | ||||
| #include "BKE_cachefile.h" | #include "BKE_cachefile.h" | ||||
| ▲ Show 20 Lines • Show All 342 Lines • ▼ Show 20 Lines | #ifndef WITH_PYTHON_MODULE | ||||
| main_signal_setup(); | main_signal_setup(); | ||||
| #else | #else | ||||
| /* Using preferences or user startup makes no sense for #WITH_PYTHON_MODULE. */ | /* Using preferences or user startup makes no sense for #WITH_PYTHON_MODULE. */ | ||||
| G.factory_startup = true; | G.factory_startup = true; | ||||
| #endif | #endif | ||||
| /* After parsing number of threads argument. */ | |||||
| BLI_task_scheduler_tbb_init(); | |||||
| #ifdef WITH_FFMPEG | #ifdef WITH_FFMPEG | ||||
| IMB_ffmpeg_init(); | IMB_ffmpeg_init(); | ||||
| #endif | #endif | ||||
| /* After level 1 arguments, this is so #WM_main_playanim skips #RNA_init. */ | /* After level 1 arguments, this is so #WM_main_playanim skips #RNA_init. */ | ||||
| RNA_init(); | RNA_init(); | ||||
| RE_engines_init(); | RE_engines_init(); | ||||
| ▲ Show 20 Lines • Show All 126 Lines • Show Last 20 Lines | |||||