From 09eb039df183db4843446f29ab583616f580427d Mon Sep 17 00:00:00 2001 From: Bruno Seny <bruno.seny@student.uclouvain.be> Date: Thu, 17 Jan 2013 14:47:48 +0000 Subject: [PATCH] fix bug with Fltk --- Common/Options.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Common/Options.cpp b/Common/Options.cpp index 0d002a987f..9220b17473 100644 --- a/Common/Options.cpp +++ b/Common/Options.cpp @@ -5164,6 +5164,7 @@ double opt_mesh_recombine_all(OPT_ARGS_NUM) double opt_mesh_recombine3d_all(OPT_ARGS_NUM) { +#if defined(HAVE_FLTK) if(action & GMSH_SET){ CTX::instance()->mesh.recombine3DAll = (int)val; //if recombine3D, then we should have 2D and 3D R-tree algo @@ -5172,7 +5173,6 @@ double opt_mesh_recombine3d_all(OPT_ARGS_NUM) FlGui::instance()->options->mesh.choice[3]->value(5); } } -#if defined(HAVE_FLTK) if(FlGui::available() && (action & GMSH_GUI)){ FlGui::instance()->options->mesh.butt[22]->value (CTX::instance()->mesh.recombine3DAll); -- GitLab