]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0021526: EDF 1855 SMESH: Regression in the Radial Quadrangle hypothesis
authoreap <eap@opencascade.com>
Wed, 21 Mar 2012 10:22:32 +0000 (10:22 +0000)
committereap <eap@opencascade.com>
Wed, 21 Mar 2012 10:22:32 +0000 (10:22 +0000)
  fix algoCreator.__call__()

src/SMESH_SWIG/smeshDC.py

index 20efdacd0db5f5f1208039d11f678ac2074223b2..e70aa88729645a0e1df6f0e64fb7b786906a2036 100644 (file)
@@ -4326,7 +4326,7 @@ class algoCreator:
     # creates an instance of algorithm
     def __call__(self,algo="",geom=0,*args):
         algoType = self.defaultAlgoType
-        for arg in args + (algo,):
+        for arg in args + (algo,geom):
             if isinstance( arg, geompyDC.GEOM._objref_GEOM_Object ):
                 geom = arg
             if isinstance( arg, str ) and arg: