Skip to content
Snippets Groups Projects
Commit 1a9b13d3 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

force view->Changed when we change the light setting
parent 189c6537
Branches
Tags
No related merge requests found
// $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 // Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
// //
...@@ -4351,6 +4351,7 @@ double opt_view_light(OPT_ARGS_NUM) ...@@ -4351,6 +4351,7 @@ double opt_view_light(OPT_ARGS_NUM)
GET_VIEW(0.); GET_VIEW(0.);
if(action & GMSH_SET) { if(action & GMSH_SET) {
v->Light = (int)val; v->Light = (int)val;
v->Changed = 1;
} }
#if defined(HAVE_FLTK) #if defined(HAVE_FLTK)
if(_gui_action_valid(action, num)) if(_gui_action_valid(action, num))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment