mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-27 09:50:34 +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
|
# Example: see GEOM_TestAll.py
|
||||||
if Limit == self.ShapeType["AUTO"]:
|
if Limit == self.ShapeType["AUTO"]:
|
||||||
# automatic detection of the most appropriate shape limit type
|
# automatic detection of the most appropriate shape limit type
|
||||||
lim = GEOM.SHAPE
|
lim = GEOM.SHAPE._v
|
||||||
for s in ListShapes: lim = min( lim, s.GetMaxShapeType() )
|
for s in ListShapes: lim = min( lim, s.GetMaxShapeType()._v )
|
||||||
Limit = EnumToLong(lim)
|
Limit = EnumToLong(lim)
|
||||||
pass
|
pass
|
||||||
anObj = self.BoolOp.MakePartition(ListShapes, ListTools,
|
anObj = self.BoolOp.MakePartition(ListShapes, ListTools,
|
||||||
@ -8217,8 +8217,8 @@ class geomBuilder(GEOM._objref_GEOM_Gen):
|
|||||||
"""
|
"""
|
||||||
if Limit == self.ShapeType["AUTO"]:
|
if Limit == self.ShapeType["AUTO"]:
|
||||||
# automatic detection of the most appropriate shape limit type
|
# automatic detection of the most appropriate shape limit type
|
||||||
lim = GEOM.SHAPE
|
lim = GEOM.SHAPE._v
|
||||||
for s in ListShapes: lim = min( lim, s.GetMaxShapeType() )
|
for s in ListShapes: lim = min( lim, s.GetMaxShapeType()._v )
|
||||||
Limit = EnumToLong(lim)
|
Limit = EnumToLong(lim)
|
||||||
pass
|
pass
|
||||||
anObj = self.BoolOp.MakePartitionNonSelfIntersectedShape(ListShapes, ListTools,
|
anObj = self.BoolOp.MakePartitionNonSelfIntersectedShape(ListShapes, ListTools,
|
||||||
|
Loading…
Reference in New Issue
Block a user