Salome HOME
22004: [CEA 725] Remove "Allow quadrangles" of Netgen3D parameters BR_PORTING_VTK6 BR_new_bop1
authoreap <eap@opencascade.com>
Mon, 17 Dec 2012 09:35:46 +0000 (09:35 +0000)
committereap <eap@opencascade.com>
Mon, 17 Dec 2012 09:35:46 +0000 (09:35 +0000)
src/GUI/NETGENPluginGUI_HypothesisCreator.cxx

index 31b3f7e0b4926d559a5b5eb2950239a29f8378b8..408b01fe64c47c9a2395d52dd15790f52dbfa8ee 100644 (file)
@@ -206,7 +206,7 @@ QFrame* NETGENPluginGUI_HypothesisCreator::buildFrame()
     row++;
   }
   myAllowQuadrangles = 0;
-  if ( true /*myIs2D*/ ) // issue 0021676
+  if ( myIs2D || !myIsONLY ) // issue 0021676
   {
     myAllowQuadrangles = new QCheckBox( tr( "NETGEN_ALLOW_QUADRANGLES" ), GroupC1 );
     aGroupLayout->addWidget( myAllowQuadrangles, row, 0 );