From 938a8b6c2a8e171fd1bb18c76692506193f3786a Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 10 Mar 2020 16:24:09 +0300 Subject: [PATCH] #18758 EDF 20879 - CADSurf gradation for submeshes: additional correction --- src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 ) -- 2.39.2