]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
22547: [CEA 1128] Problem with use of "isRelative" after a dump
authoreap <eap@opencascade.com>
Fri, 11 Apr 2014 13:07:20 +0000 (17:07 +0400)
committereap <eap@opencascade.com>
Fri, 11 Apr 2014 13:07:20 +0000 (17:07 +0400)
src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.cxx

index cbb6e1859d1cebea559385b6337084bc3b7ad671..088b838355d7389a630cf924a2bf9ba8cd13e8d8 100644 (file)
@@ -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 << " )";
   }
 }