path: use XMax/YMax for sorting shapes in PathAreaOp

This commit is contained in:
Sabin Iacob
2019-03-16 20:14:53 +02:00
committed by wmayer
parent 423830ba8c
commit b66a6fa31a

View File

@@ -250,8 +250,8 @@ class ObjectOp(PathOp.ObjectOp):
shapes = self.areaOpShapes(obj)
jobs = [{
'x': s[0].BoundBox.XMin,
'y': s[0].BoundBox.YMin,
'x': s[0].BoundBox.XMax,
'y': s[0].BoundBox.YMax,
'shape': s
} for s in shapes]