]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
INT PAL 52986: Previously selected 'Scale distribution' type is not selected at edit...
authormpa <mpa@opencascade.com>
Thu, 17 Dec 2015 07:53:53 +0000 (10:53 +0300)
committermpa <mpa@opencascade.com>
Thu, 17 Dec 2015 07:53:53 +0000 (10:53 +0300)
src/StdMeshers/StdMeshers_NumberOfSegments.cxx

index 29e55e4a5e983d3a0b85012c72942149bbb5fcdd..8d262e36f17595715ef7aeaff76556baf7022dda 100644 (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 )
   {