mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-18 15:00:37 +05:00
0021526: EDF 1855 SMESH: Regression in the Radial Quadrangle hypothesis
fix algoCreator.__call__()
This commit is contained in:
parent
b0b291e152
commit
5ea2cc6434
@ -4326,7 +4326,7 @@ class algoCreator:
|
|||||||
# creates an instance of algorithm
|
# creates an instance of algorithm
|
||||||
def __call__(self,algo="",geom=0,*args):
|
def __call__(self,algo="",geom=0,*args):
|
||||||
algoType = self.defaultAlgoType
|
algoType = self.defaultAlgoType
|
||||||
for arg in args + (algo,):
|
for arg in args + (algo,geom):
|
||||||
if isinstance( arg, geompyDC.GEOM._objref_GEOM_Object ):
|
if isinstance( arg, geompyDC.GEOM._objref_GEOM_Object ):
|
||||||
geom = arg
|
geom = arg
|
||||||
if isinstance( arg, str ) and arg:
|
if isinstance( arg, str ) and arg:
|
||||||
|
Loading…
Reference in New Issue
Block a user