From: eap Date: Mon, 14 Apr 2014 11:58:26 +0000 (+0400) Subject: 22547: [CEA 1128] Problem with use of "isRelative" after a dump X-Git-Tag: V7_4_0b1^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c8190efd7aca1a3b68a1e20d8b2029c96c103c33;p=plugins%2Fblsurfplugin.git 22547: [CEA 1128] Problem with use of "isRelative" after a dump - Pb 3: "BLSURF.SetMaxSize" has no argument "isRelative". --- diff --git a/src/BLSURFPlugin/BLSURFPluginBuilder.py b/src/BLSURFPlugin/BLSURFPluginBuilder.py index c905fd8..299e5b6 100644 --- a/src/BLSURFPlugin/BLSURFPluginBuilder.py +++ b/src/BLSURFPlugin/BLSURFPluginBuilder.py @@ -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: