Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-10-30 05:11:35 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-10-30 05:30:16 +0300
commitb018582cd3f664912b4fa012c56d3286e1bb0508 (patch)
tree0637ef7d064f406dad1e2cb209a43192b1c1b7c6 /source/creator/creator.c
parent6ab8cbc68cd1b6c2e8f30e42c57585fa8defaf05 (diff)
Cleanup: parse '--thread' as part of ARG_PASS_ENVIRONMENT
While this isn't needed at the moment, it's possible the animation player uses the scheduler in the future.
Diffstat (limited to 'source/creator/creator.c')
-rw-r--r--source/creator/creator.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c
index 4f5af4bf4ac..738b49dff84 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -415,6 +415,9 @@ int main(int argc,
* since they impact `BKE_appdir` behavior. */
BKE_appdir_init();
+ /* After parsing number of threads argument. */
+ BLI_task_scheduler_init();
+
/* Initialize sub-systems that use `BKE_appdir.h`. */
IMB_init();
@@ -425,9 +428,6 @@ int main(int argc,
main_signal_setup();
#endif
- /* After parsing number of threads argument. */
- BLI_task_scheduler_init();
-
#ifdef WITH_FFMPEG
/* Keep after #ARG_PASS_SETTINGS since debug flags are checked. */
IMB_ffmpeg_init();