mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-27 20:40:32 +05:00
INT PAL 52986: Previously selected 'Scale distribution' type is not selected at edit of 'Nb. Segments' hypothesis
This commit is contained in:
parent
f573f79fc8
commit
9f2962eb00
@ -186,8 +186,9 @@ void StdMeshers_NumberOfSegments::SetScaleFactor(double scaleFactor)
|
|||||||
if (_distrType != DT_Scale)
|
if (_distrType != DT_Scale)
|
||||||
_distrType = DT_Scale;
|
_distrType = DT_Scale;
|
||||||
|
|
||||||
if ( fabs(scaleFactor - 1.0) < PRECISION )
|
// commented by mpa for IPAL 52986
|
||||||
_distrType = DT_Regular;
|
// if ( fabs(scaleFactor - 1.0) < PRECISION )
|
||||||
|
// _distrType = DT_Regular;
|
||||||
|
|
||||||
if ( fabs(_scaleFactor - scaleFactor) > PRECISION )
|
if ( fabs(_scaleFactor - scaleFactor) > PRECISION )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user