]> SALOME platform Git repositories - plugins/netgenplugin.git/commitdiff
Salome HOME
0021337: EDF 1924 NETGENPLUGIN: Mesh optimization
authoreap <eap@opencascade.com>
Thu, 28 Jul 2011 12:42:22 +0000 (12:42 +0000)
committereap <eap@opencascade.com>
Thu, 28 Jul 2011 12:42:22 +0000 (12:42 +0000)
   Restore "Optimize" parameter of 2D hyps removed by mistake

src/GUI/NETGENPluginGUI_HypothesisCreator.cxx

index 23433fdb2690ef3c844891edde76901bc614f49e..fbc6f824156b74f3f9330d8771707848e4420c2c 100644 (file)
@@ -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;