]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
22547: [CEA 1128] Problem with use of "isRelative" after a dump V7_4_0b1
authoreap <eap@opencascade.com>
Mon, 14 Apr 2014 11:58:26 +0000 (15:58 +0400)
committereap <eap@opencascade.com>
Mon, 14 Apr 2014 11:58:26 +0000 (15:58 +0400)
- Pb 3: "BLSURF.SetMaxSize" has no argument "isRelative".

src/BLSURFPlugin/BLSURFPluginBuilder.py

index c905fd8cbac6cb7f4e49a0e2de7778f6f47ad7ea..299e5b61f3ce7c9851c3611e6ab9247b97938721 100644 (file)
@@ -133,7 +133,7 @@ class BLSURF_Algorithm(Mesh_Algorithm):
   ## Sets upper boundary of mesh element size.
   #  @param theVal : global maximal cell size desired.
   #  @param isRelative : if True, the value is relative to the length of the diagonal of the bounding box
-  def SetMaxSize(self, theVal=-1):
+  def SetMaxSize(self, theVal=-1, isRelative = False):
     if isRelative:
       self.Parameters().SetMaxSizeRel(theVal)
     else: