forked from bartvdbraak/blender
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.
This commit is contained in:
parent
5e31e07230
commit
8db2f72997
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user