]> SALOME platform Git repositories - plugins/netgenplugin.git/commitdiff
Salome HOME
#17845 [EDF] Modifications of Automatic meshing
authoreap <eap@opencascade.com>
Tue, 5 Nov 2019 18:26:42 +0000 (21:26 +0300)
committereap <eap@opencascade.com>
Fri, 24 Jan 2020 16:33:11 +0000 (19:33 +0300)
src/NETGENPlugin/NETGENPlugin_Hypothesis.cxx

index c1c7ffe58250d85b67021154a3fbe041410a162a..a23ded606d4b7c2fdaee872f2b584e87a3ba60f4 100644 (file)
@@ -669,6 +669,7 @@ bool NETGENPlugin_Hypothesis::SetParametersByDefaults(const TDefaults&  dflts,
   if ( dflts._way == SMESH_Hypothesis::BY_AVERAGE_LENGTH )
   {
     _minSize      = dflts._elemLength / 100.;
+    _nbSegPerEdge = 1;
     _chordalError = dflts._elemLength / 2.;
     _chordalErrorEnabled = true;
     _quadAllowed  = dflts._quadDominated;