From 4bf2f92d70394bd16dda3abfb748c93554788611 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Mon, 24 Mar 2014 13:22:08 -0300 Subject: [PATCH] Draft: small fix to Draft Clone If scale is (1,1,1), matrix transform is no longer applied --- src/Mod/Draft/Draft.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Mod/Draft/Draft.py b/src/Mod/Draft/Draft.py index 2c7c98ed6..3c0e3ad2c 100644 --- a/src/Mod/Draft/Draft.py +++ b/src/Mod/Draft/Draft.py @@ -4539,8 +4539,9 @@ class _Clone(_DraftObject): sh = o.Shape.copy() m = FreeCAD.Matrix() if hasattr(obj,"Scale") and not sh.isNull(): - m.scale(obj.Scale) - sh = sh.transformGeometry(m) + if not DraftVecUtils.equals(obj.Scale,Vector(1,1,1)): + m.scale(obj.Scale) + sh = sh.transformGeometry(m) if not sh.isNull(): shapes.append(sh) if shapes: