Correct handling of rotated base shape.

This commit is contained in:
WandererFan 2014-04-16 13:09:34 -04:00 committed by wmayer
parent 55d0ad5c5c
commit ef8bae9ab7

View File

@ -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