From: vsr Date: Tue, 10 Mar 2020 13:24:09 +0000 (+0300) Subject: #18758 EDF 20879 - CADSurf gradation for submeshes: additional correction X-Git-Tag: V9_5_0a2~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=938a8b6c2a8e171fd1bb18c76692506193f3786a;p=plugins%2Fblsurfplugin.git #18758 EDF 20879 - CADSurf gradation for submeshes: additional correction --- diff --git a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx index 2fccd63..661a881 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx +++ b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx @@ -1055,10 +1055,10 @@ void BLSURFPlugin_BLSURF::SetParameters(const BLSURFPlugin_Hypothesis* hyp, // - if maxsize is not explicitly specified, we pass default value computed automatically, in this case "relative" flag is ignored set_param(css, "max_size", _maxSizeRel ? val_to_string_rel(_maxSize).c_str() : val_to_string(_maxSize).c_str()); } - // anisotropic and quadrangle mesh requires disabling gradation - // if ( _anisotropic && _elementType != BLSURFPlugin_Hypothesis::Triangles ) - // useGradation = false; // limitation of V1.3 useGradation = true; // bos #18758 + // anisotropic and quadrangle mesh requires disabling gradation + if ( _anisotropic && _elementType != BLSURFPlugin_Hypothesis::Triangles ) + useGradation = false; // limitation of V1.3 if ( useGradation && _use_gradation ) set_param(css, "gradation", val_to_string(_gradation).c_str()); if ( useGradation && _use_volume_gradation )