From bba8760b1158120520052bd162efdc9f96d9d356 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Tue, 4 Feb 2014 09:44:50 -0200 Subject: [PATCH] Draft: fixed a bug in Draft Scale --- src/Mod/Draft/Draft.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Draft/Draft.py b/src/Mod/Draft/Draft.py index 46b65b284..b9ee3e5bb 100644 --- a/src/Mod/Draft/Draft.py +++ b/src/Mod/Draft/Draft.py @@ -1256,7 +1256,7 @@ def scale(objectslist,delta=Vector(1,1,1),center=Vector(0,0,0),copy=False,legacy newobj.Height = h tr = p[0].sub(obj.Shape.Vertexes[0].Point) newobj.Placement = pl - elif getType(obj) == "Wire": + elif getType(obj) in ["Wire","BSpline"]: p = [] for v in sh.Vertexes: p.append(v.Point) newobj.Points = p