From bb61b3110aef31706fd9082f7a78b2641d0cc69f Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Mon, 12 May 2014 20:45:26 +0000 Subject: [PATCH] remove old option --- Common/Options.cpp | 2 +- Fltk/optionWindow.cpp | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Common/Options.cpp b/Common/Options.cpp index f86cf3b5e9..6ad7353d4c 100644 --- a/Common/Options.cpp +++ b/Common/Options.cpp @@ -3208,7 +3208,7 @@ double opt_general_background_gradient(OPT_ARGS_NUM) { if(action & GMSH_SET){ CTX::instance()->bgGradient = (int)val; - if(CTX::instance()->bgGradient < 0 || CTX::instance()->bgGradient > 4) + if(CTX::instance()->bgGradient < 0 || CTX::instance()->bgGradient > 3) CTX::instance()->bgGradient = 0; } #if defined(HAVE_FLTK) diff --git a/Fltk/optionWindow.cpp b/Fltk/optionWindow.cpp index 1e56d42fd4..a4deb5da85 100644 --- a/Fltk/optionWindow.cpp +++ b/Fltk/optionWindow.cpp @@ -352,7 +352,6 @@ static void general_options_ok_cb(Fl_Widget *w, void *data) opt_general_axes(0, GMSH_SET, o->general.choice[4]->value()); opt_general_background_gradient(0, GMSH_SET, o->general.choice[5]->value()); - if( (opt_general_gamepad(0, GMSH_GET, 0) != o->general.butt[19]->value() ) || ( opt_general_camera_mode(0, GMSH_GET, 0) != o->general.butt[18]->value() )){ if((opt_general_gamepad(0, GMSH_GET, 0) == 1 ) @@ -1794,7 +1793,6 @@ optionWindow::optionWindow(int deltaFontSize) {"Vertical", 0, 0, 0}, {"Horizontal", 0, 0, 0}, {"Radial", 0, 0, 0}, - {"Image", 0, 0, 0}, {0} }; -- GitLab