Salome HOME
[bos #30879] EDF 25906 - typo in doc. Verbosity should be 0 to 10 and not 0 to 100. V9_9_1b1
authorjfa <jfa@opencascade.com>
Fri, 19 Aug 2022 08:58:37 +0000 (11:58 +0300)
committerjfa <jfa@opencascade.com>
Fri, 19 Aug 2022 08:58:37 +0000 (11:58 +0300)
idl/BLSURFPlugin_Algorithm.idl
src/BLSURFPlugin/BLSURFPluginBuilder.py
src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.cxx

index 10443408485c902c9186bd63e6cbcd3bc425e944..989262ad09ebeeb5887981a7591abe8d70a84478 100644 (file)
@@ -367,7 +367,7 @@ module BLSURFPlugin
     double GetVolumeProximityRatio();
 
     /*!
-     * Set verbosity level in the range 0 to 100.
+     * Set verbosity level in the range 0 to 10.
      */
     void SetVerbosity(in short theVal) raises (SALOME::SALOME_Exception);
     short GetVerbosity();
index 8820ee324e1a1f309d14b63b80733cdc1f3fa037..43ffe29caa21dd1ea9a56125a61ae4fa11189f79 100644 (file)
@@ -243,7 +243,7 @@ class BLSURF_Algorithm(Mesh_Algorithm):
     return
 
 
-  ## Sets verbosity level in the range 0 to 100.
+  ## Sets verbosity level in the range 0 to 10.
   #  @param level verbosity level
   def SetVerbosity(self, level):
     self.Parameters().SetVerbosity(level)
index ba89ba1981dd547dc8e8a1a28808e6222f685333..a38fb1e86feeb9780b3c7a9038313e1b8adb6dcf 100644 (file)
@@ -1045,7 +1045,7 @@ CORBA::Double BLSURFPlugin_Hypothesis_i::GetVolumeProximityRatio()
 //=============================================================================
 void BLSURFPlugin_Hypothesis_i::SetVerbosity(CORBA::Short theVal) {
   ASSERT(myBaseImpl);
-  if (theVal < 0 || theVal > 100)
+  if (theVal < 0 || theVal > 10)
     THROW_SALOME_CORBA_EXCEPTION( "Invalid verbosity level",SALOME::BAD_PARAM );
   this->GetImpl()->SetVerbosity(theVal);
   SMESH::TPythonDump() << _this() << ".SetVerbosity( " << theVal << " )";