src/glrenderer.cpp

changeset 1238
fa1ede4567b0
parent 1237
40bb00d82e2b
child 1244
68e126e8c629
--- a/src/glrenderer.cpp	Sat Jan 13 00:04:54 2018 +0200
+++ b/src/glrenderer.cpp	Sat Jan 13 00:06:56 2018 +0200
@@ -366,7 +366,7 @@
 	glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
 	glEnable(GL_DEPTH_TEST);
 
-	if (m_config->lighting())
+	if (m_config->lighting() and not m_isDrawingSelectionScene)
 		glEnable(GL_LIGHTING);
 	else
 		glDisable(GL_LIGHTING);

mercurial