From: eap Date: Tue, 5 Nov 2019 18:26:42 +0000 (+0300) Subject: #17845 [EDF] Modifications of Automatic meshing X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=02bb1e04572663ca3851ab38abe8755b9cb9e12e;p=plugins%2Fnetgenplugin.git #17845 [EDF] Modifications of Automatic meshing --- diff --git a/src/NETGENPlugin/NETGENPlugin_Hypothesis.cxx b/src/NETGENPlugin/NETGENPlugin_Hypothesis.cxx index c1c7ffe..a23ded6 100644 --- a/src/NETGENPlugin/NETGENPlugin_Hypothesis.cxx +++ b/src/NETGENPlugin/NETGENPlugin_Hypothesis.cxx @@ -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;