Skip to content

Commit

Permalink
Draft: fixed minor bug
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Dec 12, 2019
1 parent c670281 commit 39ee165
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Draft/Draft.py
Expand Up @@ -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
Expand Down

0 comments on commit 39ee165

Please sign in to comment.