Draft: Fixed regression in Rotate tool
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user