Changeset View
Changeset View
Standalone View
Standalone View
source/creator/creator.c
| Context not available. | |||||
| #include "RE_engine.h" | #include "RE_engine.h" | ||||
| #include "RE_pipeline.h" | #include "RE_pipeline.h" | ||||
| #include "RE_render_ext.h" | |||||
| #include "ED_datafiles.h" | #include "ED_datafiles.h" | ||||
| #include "ED_util.h" | #include "ED_util.h" | ||||
| Context not available. | |||||
| #ifdef WITH_LIBMV | #ifdef WITH_LIBMV | ||||
| libmv_initLogging(argv[0]); | libmv_initLogging(argv[0]); | ||||
| #elif defined(WITH_CYCLES_LOGGING) | #elif defined(WITH_CYCLES_DEBUG) | ||||
| CCL_init_logging(argv[0]); | CCL_init_logging(argv[0]); | ||||
| #endif | #endif | ||||
| setCallbacks(); | setCallbacks(); | ||||
| #if defined(__APPLE__) && !defined(WITH_PYTHON_MODULE) | |||||
| /* patch to ignore argument finder gives us (pid?) */ | |||||
| if (argc == 2 && strncmp(argv[1], "-psn_", 5) == 0) { | |||||
| extern int GHOST_HACK_getFirstFile(char buf[]); | |||||
| static char firstfilebuf[512]; | |||||
| argc = 1; | |||||
| if (GHOST_HACK_getFirstFile(firstfilebuf)) { | |||||
| argc = 2; | |||||
| argv[1] = firstfilebuf; | |||||
| } | |||||
| } | |||||
| #endif | |||||
| #ifdef __FreeBSD__ | #ifdef __FreeBSD__ | ||||
| fpsetmask(0); | fpsetmask(0); | ||||
| Context not available. | |||||
| DAG_init(); | DAG_init(); | ||||
| BKE_brush_system_init(); | BKE_brush_system_init(); | ||||
| RE_init_texture_rng(); | |||||
| BLI_callback_global_init(); | BLI_callback_global_init(); | ||||
| Context not available. | |||||