From b66a6fa31a2b5721f4466c1594a4fcbd62ab480c Mon Sep 17 00:00:00 2001 From: Sabin Iacob Date: Sat, 16 Mar 2019 20:14:53 +0200 Subject: [PATCH] path: use XMax/YMax for sorting shapes in PathAreaOp --- src/Mod/Path/PathScripts/PathAreaOp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/Path/PathScripts/PathAreaOp.py b/src/Mod/Path/PathScripts/PathAreaOp.py index 9b7d0dff44..9417a7a4ff 100644 --- a/src/Mod/Path/PathScripts/PathAreaOp.py +++ b/src/Mod/Path/PathScripts/PathAreaOp.py @@ -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]