From f1bc0ce25dbbf77272c1edb62a1832fb50cbe8f4 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Fri, 26 Aug 2016 11:25:01 -0300 Subject: [PATCH] Draft: Apply clones scaling before the placement - fixes #2681 --- src/Mod/Draft/Draft.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Mod/Draft/Draft.py b/src/Mod/Draft/Draft.py index 9286f7426..505967df1 100644 --- a/src/Mod/Draft/Draft.py +++ b/src/Mod/Draft/Draft.py @@ -5341,11 +5341,14 @@ class _Clone(_DraftObject): if hasattr(obj,"Scale") and not sh.isNull(): sx,sy,sz = obj.Scale if not DraftVecUtils.equals(obj.Scale,Vector(1,1,1)): + op = sh.Placement + sh.Placement = FreeCAD.Placement() m.scale(obj.Scale) if sx == sy == sz: sh.transformShape(m) else: sh = sh.transformGeometry(m) + sh.Placement = op if not sh.isNull(): shapes.append(sh) if shapes: