From 02bb1e04572663ca3851ab38abe8755b9cb9e12e Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 5 Nov 2019 21:26:42 +0300 Subject: [PATCH] #17845 [EDF] Modifications of Automatic meshing --- src/NETGENPlugin/NETGENPlugin_Hypothesis.cxx | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.2