From: Paul RASCLE Date: Mon, 8 Apr 2019 18:23:25 +0000 (+0200) Subject: debug for SMESH plugin padder X-Git-Tag: V9_3_0rc1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bf3fbe8dd4a34128a24fc3a2100bac3b17cddc12;p=modules%2Fsmesh.git debug for SMESH plugin padder --- diff --git a/src/Tools/padder/spadderpy/gui/inputdata.py b/src/Tools/padder/spadderpy/gui/inputdata.py index b3edb1a73..bbc1c5a02 100644 --- a/src/Tools/padder/spadderpy/gui/inputdata.py +++ b/src/Tools/padder/spadderpy/gui/inputdata.py @@ -36,6 +36,8 @@ class InputData(DataModeler): 'STEELBAR' ]) + maListe=MESHTYPES.listvalues() + def __init__(self): DataModeler.__init__(self) self.addAttribute( @@ -44,20 +46,22 @@ class InputData(DataModeler): ) self.addAttribute( name = "meshName", - type = TypeString, - range = None + a_type = TypeString, + a_range = None ) self.addAttribute( name = "meshType", - type = TypeInteger, - range = self.MESHTYPES.listvalues() + a_type = TypeInteger, + #range = self.MESHTYPES.listvalues() + a_range = [0,1] ) self.addAttribute( name = "groupName", - type = TypeString, - range = None + a_type = TypeString, + a_range = None ) + # # ============================================================================== # Basic use cases and unit tests