mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-26 17:30:35 +05:00
[PY3] Fix Test Issue : EnumItem are not orderable
This commit is contained in:
parent
3a4c128626
commit
32fc746f07
@ -8144,8 +8144,8 @@ class geomBuilder(GEOM._objref_GEOM_Gen):
|
||||
# Example: see GEOM_TestAll.py
|
||||
if Limit == self.ShapeType["AUTO"]:
|
||||
# automatic detection of the most appropriate shape limit type
|
||||
lim = GEOM.SHAPE
|
||||
for s in ListShapes: lim = min( lim, s.GetMaxShapeType() )
|
||||
lim = GEOM.SHAPE._v
|
||||
for s in ListShapes: lim = min( lim, s.GetMaxShapeType()._v )
|
||||
Limit = EnumToLong(lim)
|
||||
pass
|
||||
anObj = self.BoolOp.MakePartition(ListShapes, ListTools,
|
||||
@ -8217,8 +8217,8 @@ class geomBuilder(GEOM._objref_GEOM_Gen):
|
||||
"""
|
||||
if Limit == self.ShapeType["AUTO"]:
|
||||
# automatic detection of the most appropriate shape limit type
|
||||
lim = GEOM.SHAPE
|
||||
for s in ListShapes: lim = min( lim, s.GetMaxShapeType() )
|
||||
lim = GEOM.SHAPE._v
|
||||
for s in ListShapes: lim = min( lim, s.GetMaxShapeType()._v )
|
||||
Limit = EnumToLong(lim)
|
||||
pass
|
||||
anObj = self.BoolOp.MakePartitionNonSelfIntersectedShape(ListShapes, ListTools,
|
||||
|
Loading…
Reference in New Issue
Block a user