]> SALOME platform Git repositories - plugins/netgenplugin.git/commitdiff
Salome HOME
020700: EDF 1234 SMESH: Quadrangle preference and Netgen
authoreap <eap@opencascade.com>
Thu, 18 Feb 2010 09:00:21 +0000 (09:00 +0000)
committereap <eap@opencascade.com>
Thu, 18 Feb 2010 09:00:21 +0000 (09:00 +0000)
-  if ( _hypMaxElementArea || _hypLengthFromEdges )
+  if ( _hypMaxElementArea || _hypLengthFromEdges || _hypQuadranglePreference)
     aStatus = HYP_OK;

src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx

index 99421985c5ab4846f62e937480be9090e66b6d12..5b2b2b83c0198027f73a4677313a8a21d1aa1a7e 100644 (file)
@@ -151,7 +151,7 @@ bool NETGENPlugin_NETGEN_2D_ONLY::CheckHypothesis (SMESH_Mesh&         aMesh,
     return false;
   }
 
-  if ( _hypMaxElementArea || _hypLengthFromEdges )
+  if ( _hypMaxElementArea || _hypLengthFromEdges || _hypQuadranglePreference)
     aStatus = HYP_OK;
 
   return aStatus == HYP_OK;