INT PAL 52986: Previously selected 'Scale distribution' type is not selected at edit of 'Nb. Segments' hypothesis

This commit is contained in:
mpa 2015-12-17 10:53:53 +03:00
parent f573f79fc8
commit 9f2962eb00

View File

@ -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 )
{