From: eap Date: Tue, 30 Aug 2016 15:54:17 +0000 (+0300) Subject: Regression of SALOME_TESTS/Grids/smesh/bugs_16/S9 X-Git-Tag: V8_1_0rc1~12 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=71bf062d251f9ce74bf64588c4e6f6f9732ce754;p=plugins%2Fblsurfplugin.git Regression of SALOME_TESTS/Grids/smesh/bugs_16/S9 --- diff --git a/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx b/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx index be2f6c7..386d726 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx +++ b/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx @@ -324,8 +324,8 @@ void BLSURFPlugin_Hypothesis::SetUseGradation(bool theVal) { //============================================================================= void BLSURFPlugin_Hypothesis::SetGradation(double theVal) { + _useGradation = ( theVal > 0 ); if (theVal != _gradation) { - _useGradation = ( theVal > 0 ); _gradation = theVal; NotifySubMeshesHypothesisModification(); } @@ -341,8 +341,8 @@ void BLSURFPlugin_Hypothesis::SetUseVolumeGradation(bool theVal) { //============================================================================= void BLSURFPlugin_Hypothesis::SetVolumeGradation(double theVal) { + _useVolumeGradation = ( theVal > 0 ); if (theVal != _volumeGradation) { - _useVolumeGradation = ( theVal > 0 ); _volumeGradation = theVal; NotifySubMeshesHypothesisModification(); }