From 1a9b13d3891af5aeb49442f695eab0c69f412868 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Sun, 30 May 2004 04:17:40 +0000
Subject: [PATCH] force view->Changed when we change the light setting

---
 Common/Options.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Common/Options.cpp b/Common/Options.cpp
index a0786da787..406f34faa9 100644
--- a/Common/Options.cpp
+++ b/Common/Options.cpp
@@ -1,4 +1,4 @@
-// $Id: Options.cpp,v 1.159 2004-05-29 10:11:10 geuzaine Exp $
+// $Id: Options.cpp,v 1.160 2004-05-30 04:17:40 geuzaine Exp $
 //
 // Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
 //
@@ -4351,6 +4351,7 @@ double opt_view_light(OPT_ARGS_NUM)
   GET_VIEW(0.);
   if(action & GMSH_SET) {
     v->Light = (int)val;
+    v->Changed = 1;
   }
 #if defined(HAVE_FLTK)
   if(_gui_action_valid(action, num))
-- 
GitLab