From: mpa Date: Thu, 17 Dec 2015 07:53:53 +0000 (+0300) Subject: INT PAL 52986: Previously selected 'Scale distribution' type is not selected at edit... X-Git-Tag: V8_0_0a1~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9f2962eb000753a1525d0a5b2971859cbcac8661;p=modules%2Fsmesh.git INT PAL 52986: Previously selected 'Scale distribution' type is not selected at edit of 'Nb. Segments' hypothesis --- diff --git a/src/StdMeshers/StdMeshers_NumberOfSegments.cxx b/src/StdMeshers/StdMeshers_NumberOfSegments.cxx index 29e55e4a5..8d262e36f 100644 --- a/src/StdMeshers/StdMeshers_NumberOfSegments.cxx +++ b/src/StdMeshers/StdMeshers_NumberOfSegments.cxx @@ -186,8 +186,9 @@ void StdMeshers_NumberOfSegments::SetScaleFactor(double scaleFactor) if (_distrType != DT_Scale) _distrType = DT_Scale; - if ( fabs(scaleFactor - 1.0) < PRECISION ) - _distrType = DT_Regular; +// commented by mpa for IPAL 52986 +// if ( fabs(scaleFactor - 1.0) < PRECISION ) +// _distrType = DT_Regular; if ( fabs(_scaleFactor - scaleFactor) > PRECISION ) {