From 42c4cc1fad5fd260aefa993c0b218f94afe17092 Mon Sep 17 00:00:00 2001 From: Akash Anand <akasha@iitk.ac.in> Date: Tue, 7 Aug 2007 20:27:20 +0000 Subject: [PATCH] *** empty log message *** --- Graphics/Geom.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Graphics/Geom.cpp b/Graphics/Geom.cpp index 9b1727eb52..ef09cd3b00 100644 --- a/Graphics/Geom.cpp +++ b/Graphics/Geom.cpp @@ -1,4 +1,4 @@ -// $Id: Geom.cpp,v 1.134 2007-08-03 00:44:28 geuzaine Exp $ +// $Id: Geom.cpp,v 1.135 2007-08-07 20:27:20 anand Exp $ // // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // @@ -269,7 +269,7 @@ class drawGFace { else glPolygonMode(GL_FRONT_AND_BACK, GL_LINE); - glEnable(GL_LIGHTING); + if(CTX.geom.light) glEnable(GL_LIGHTING); glBegin(GL_QUADS); for(unsigned int i = 1; i < gr.size(); i++){ for(unsigned int j = 1; j < gr[0].size(); j++){ -- GitLab