From 447e7e18847ddef32413e9f84c86571072f8dadf Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 11 Apr 2014 17:07:20 +0400 Subject: [PATCH] 22547: [CEA 1128] Problem with use of "isRelative" after a dump --- src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 << " )"; } } -- 2.39.2