diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2016-12-22 23:58:57 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2016-12-23 00:00:48 +0300 |
commit | 8db2f72997cc72259157d7fc42b54fa5a292f424 (patch) | |
tree | 5cb205fddc167b5b83fd298d0789b269aaada9aa /source/creator | |
parent | 5e31e0723017ae93490778b1dd8b9b265b2df100 (diff) |
Fix (unreported) `--threads` option no more respected by main task scheduler.
Main scheduler would be created way before `-t` argument would be
parsed, since it was on forth pass! Moved it to first pass of argparse,
that kind of stuff should be initialized asap on startup.
Diffstat (limited to 'source/creator')
-rw-r--r-- | source/creator/creator_args.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/creator/creator_args.c b/source/creator/creator_args.c index 9f845d29c18..4eb72fb1619 100644 --- a/source/creator/creator_args.c +++ b/source/creator/creator_args.c @@ -1886,7 +1886,7 @@ void main_args_setup(bContext *C, bArgs *ba, SYS_SystemHandle *syshandle) BLI_argsAdd(ba, 4, "-E", "--engine", CB(arg_handle_engine_set), C); BLI_argsAdd(ba, 4, "-F", "--render-format", CB(arg_handle_image_type_set), C); - BLI_argsAdd(ba, 4, "-t", "--threads", CB(arg_handle_threads_set), NULL); + BLI_argsAdd(ba, 1, "-t", "--threads", CB(arg_handle_threads_set), NULL); BLI_argsAdd(ba, 4, "-x", "--use-extension", CB(arg_handle_extension_set), C); #undef CB |