From 39ee1654f9470a6b9e2a7e91152cd187486ff056 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Thu, 12 Dec 2019 14:11:59 -0300 Subject: [PATCH] Draft: fixed minor bug --- 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 b72e1fb227..8cf206d433 100644 --- a/src/Mod/Draft/Draft.py +++ b/src/Mod/Draft/Draft.py @@ -1789,7 +1789,7 @@ def rotate(objectslist,angle,center=Vector(0,0,0),axis=Vector(0,0,1),copy=False) newobj = makeCopy(obj) else: newobj = obj - if hasattr(obj,'Shape') and (Draft.getType(obj) not in ["WorkingPlaneProxy"]): + if hasattr(obj,'Shape') and (getType(obj) not in ["WorkingPlaneProxy"]): shape = obj.Shape.copy() shape.rotate(DraftVecUtils.tup(center), DraftVecUtils.tup(axis), angle) newobj.Shape = shape