Correct handling of rotated base shape.
This commit is contained in:
parent
55d0ad5c5c
commit
ef8bae9ab7
|
@ -4443,7 +4443,8 @@ class _PathArray(_DraftObject):
|
|||
nullv = FreeCAD.Vector(0,0,0)
|
||||
nullPlace =FreeCAD.Placement()
|
||||
ns = shape.copy()
|
||||
ns.Placement = nullPlace # reset Placement so translate goes to right place.
|
||||
ns.Placement.Base = nullPlace.Base # reset Placement point so translate goes to right place.
|
||||
ns.Placement.Rotation = shape.Placement.Rotation # preserve global orientation
|
||||
ns.translate(RefPt+xlate)
|
||||
if not align:
|
||||
return ns
|
||||
|
|
Loading…
Reference in New Issue
Block a user