From: eap Date: Fri, 11 Apr 2014 13:07:20 +0000 (+0400) Subject: 22547: [CEA 1128] Problem with use of "isRelative" after a dump X-Git-Tag: V7_4_0b1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=447e7e18847ddef32413e9f84c86571072f8dadf;p=plugins%2Fblsurfplugin.git 22547: [CEA 1128] Problem with use of "isRelative" after a dump --- diff --git a/src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.cxx b/src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.cxx index cbb6e18..088b838 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.cxx +++ b/src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.cxx @@ -145,7 +145,7 @@ void BLSURFPlugin_Hypothesis_i::SetPhySizeRel(CORBA::Double theValue) { // MESSAGE("BLSURFPlugin_Hypothesis_i::SetPhySizeRel"); ASSERT(myBaseImpl); this->GetImpl()->SetPhySize(theValue, true); - SMESH::TPythonDump() << _this() << ".SetPhySize( " << theValue << ", isRelative = True )"; + SMESH::TPythonDump() << _this() << ".SetPhySizeRel( " << theValue << " )"; } //============================================================================= @@ -188,7 +188,7 @@ void BLSURFPlugin_Hypothesis_i::SetMinSizeRel(CORBA::Double theMinSize) { ASSERT(myBaseImpl); if ( !IsMinSizeRel() || (GetMinSize() != theMinSize) ) { this->GetImpl()->SetMinSize(theMinSize, true); - SMESH::TPythonDump() << _this() << ".SetMinSize( " << theMinSize << ", isRelative = True )"; + SMESH::TPythonDump() << _this() << ".SetMinSizeRel( " << theMinSize << " )"; } } @@ -219,7 +219,7 @@ void BLSURFPlugin_Hypothesis_i::SetMaxSizeRel(CORBA::Double theMaxSize) { ASSERT(myBaseImpl); if ( !IsMaxSizeRel() || (GetMaxSize() != theMaxSize) ) { this->GetImpl()->SetMaxSize(theMaxSize, true); - SMESH::TPythonDump() << _this() << ".SetMaxSize( " << theMaxSize << ", isRelative = True )"; + SMESH::TPythonDump() << _this() << ".SetMaxSizeRel( " << theMaxSize << " )"; } }