From c8e362ac31f5c33d53441b2d0ad35ae826eba6e2 Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 28 Jul 2011 12:42:22 +0000 Subject: [PATCH] 0021337: EDF 1924 NETGENPLUGIN: Mesh optimization Restore "Optimize" parameter of 2D hyps removed by mistake --- src/GUI/NETGENPluginGUI_HypothesisCreator.cxx | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/GUI/NETGENPluginGUI_HypothesisCreator.cxx b/src/GUI/NETGENPluginGUI_HypothesisCreator.cxx index 23433fd..fbc6f82 100644 --- a/src/GUI/NETGENPluginGUI_HypothesisCreator.cxx +++ b/src/GUI/NETGENPluginGUI_HypothesisCreator.cxx @@ -210,13 +210,10 @@ QFrame* NETGENPluginGUI_HypothesisCreator::buildFrame() row++; } - myOptimize = 0; - if ( !myIs2D ) - { - myOptimize = new QCheckBox( tr( "NETGEN_OPTIMIZE" ), GroupC1 ); - aGroupLayout->addWidget( myOptimize, row, 0 ); - row++; - } + myOptimize = new QCheckBox( tr( "NETGEN_OPTIMIZE" ), GroupC1 ); + aGroupLayout->addWidget( myOptimize, row, 0 ); + row++; + connect( myFineness, SIGNAL( activated( int ) ), this, SLOT( onFinenessChanged() ) ); myLocalSizeTable = 0; -- 2.39.2