From: eap Date: Thu, 28 Jul 2011 12:42:22 +0000 (+0000) Subject: 0021337: EDF 1924 NETGENPLUGIN: Mesh optimization X-Git-Tag: V6_4_0a1~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c8e362ac31f5c33d53441b2d0ad35ae826eba6e2;p=plugins%2Fnetgenplugin.git 0021337: EDF 1924 NETGENPLUGIN: Mesh optimization Restore "Optimize" parameter of 2D hyps removed by mistake --- 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;