From 15f72b916796b52f32f0d3b25c46ec4203e555f5 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Wed, 11 Dec 2019 23:15:05 -0300 Subject: [PATCH] Draft: fixed regression in rotations --- 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 a71670a3a6..b72e1fb227 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'): + if hasattr(obj,'Shape') and (Draft.getType(obj) not in ["WorkingPlaneProxy"]): shape = obj.Shape.copy() shape.rotate(DraftVecUtils.tup(center), DraftVecUtils.tup(axis), angle) newobj.Shape = shape