[Bf-blender-cvs] [fea5e1dc3a2] master: Fix T57342: Crash on render with workbench render engine via command line

Clément Foucault noreply at git.blender.org
Wed Feb 6 12:16:26 CET 2019


Commit: fea5e1dc3a235303789e2a7bac2005c0667f1963
Author: Clément Foucault
Date:   Wed Feb 6 12:10:11 2019 +0100
Branches: master
https://developer.blender.org/rBfea5e1dc3a235303789e2a7bac2005c0667f1963

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

===================================================================

M	source/blender/windowmanager/intern/wm_init_exit.c

===================================================================

diff --git a/source/blender/windowmanager/intern/wm_init_exit.c b/source/blender/windowmanager/intern/wm_init_exit.c
index d918db326d7..83d3e8a75e3 100644
--- a/source/blender/windowmanager/intern/wm_init_exit.c
+++ b/source/blender/windowmanager/intern/wm_init_exit.c
@@ -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



More information about the Bf-blender-cvs mailing list