From 4e167f32bb1c96daf1f2590c6756b42e3cc734eb Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Tue, 17 Dec 2019 15:30:31 -0300 Subject: [PATCH] Draft: Fixed regression in Rotate tool --- 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 8cf206d433..1af82adcf7 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 (getType(obj) not in ["WorkingPlaneProxy"]): + if hasattr(obj,'Shape') and (getType(obj) not in ["WorkingPlaneProxy","BuildingPart"]): shape = obj.Shape.copy() shape.rotate(DraftVecUtils.tup(center), DraftVecUtils.tup(axis), angle) newobj.Shape = shape