From: eap Date: Tue, 5 Nov 2019 18:26:42 +0000 (+0300) Subject: #17845 [EDF] Modifications of Automatic meshing X-Git-Tag: V9_5_0a1~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=97608c7804dbdf008dfba37a466e5bf8dc51f90e;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;