From 71bf062d251f9ce74bf64588c4e6f6f9732ce754 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 30 Aug 2016 18:54:17 +0300 Subject: [PATCH] Regression of SALOME_TESTS/Grids/smesh/bugs_16/S9 --- src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); } -- 2.39.2