Fix T57342: Crash on render with workbench render engine via command line

This commit is contained in:
Clément Foucault 2019-02-06 12:10:11 +01:00
parent 4547815847
commit fea5e1dc3a
Notes: blender-bot 2023-02-14 05:09:30 +01:00
Referenced by issue #57342, Blender segfault on render with workbench render engine via command line.
1 changed files with 2 additions and 1 deletions

View File

@ -263,9 +263,10 @@ void WM_init(bContext *C, int argc, const char **argv)
WM_init_opengl(G_MAIN);
UI_init();
BKE_studiolight_init();
}
BKE_studiolight_init();
ED_spacemacros_init();
/* note: there is a bug where python needs initializing before loading the