Salome HOME
projects
/
plugins
/
blsurfplugin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5659e84
)
dump option setting only if value changes
author
eap
<eap@opencascade.com>
Mon, 5 May 2008 06:11:24 +0000
(06:11 +0000)
committer
eap
<eap@opencascade.com>
Mon, 5 May 2008 06:11:24 +0000
(06:11 +0000)
src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.cxx
patch
|
blob
|
history
diff --git
a/src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.cxx
b/src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.cxx
index 4d29bb3d4e3cbfbf01e6628cb3681dd57d4a4f1b..b7d4931df5be1edac4ddfed9f73e701b120ff198 100644
(file)
--- a/
src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.cxx
+++ b/
src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.cxx
@@
-411,8
+411,9
@@
void BLSURFPlugin_Hypothesis_i::SetOptionValue(const char* optionName,
catch (SALOME_Exception& ex) {
THROW_SALOME_CORBA_EXCEPTION( ex.what() ,SALOME::BAD_PARAM );
}
- SMESH::TPythonDump() << _this() << ".SetOptionValue( '"
- << optionName << "', '" << optionValue << "' )";
+ if ( valueChanged )
+ SMESH::TPythonDump() << _this() << ".SetOptionValue( '"
+ << optionName << "', '" << optionValue << "' )";
}
//=============================================================================