2.5
Skipping UI script and keymap calls for -b background mode.
This commit is contained in:
parent
2cc64a95b5
commit
59c6a81507
@ -503,10 +503,12 @@ int main(int argc, char **argv)
|
||||
*/
|
||||
BPY_post_start_python();
|
||||
|
||||
if(!G.background)
|
||||
BPY_run_ui_scripts(C, 0); /* dont need to reload the first time */
|
||||
#endif
|
||||
|
||||
CTX_py_init_set(C, 1);
|
||||
if(!G.background)
|
||||
WM_keymap_init(C); /* after BPY_run_ui_scripts() */
|
||||
|
||||
#ifdef WITH_QUICKTIME
|
||||
|
Loading…
Reference in New Issue
Block a user