Draft: small fix to Draft Clone
If scale is (1,1,1), matrix transform is no longer applied
This commit is contained in:
parent
e293d61d54
commit
4bf2f92d70
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user