Skip to content

Commit

Permalink
Draft: fix double translation in Draft._PointArray
Browse files Browse the repository at this point in the history
  • Loading branch information
vocx-fc authored and yorikvanhavre committed Oct 25, 2019
1 parent d57cc0c commit c940269
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Mod/Draft/Draft.py
Expand Up @@ -6032,7 +6032,8 @@ def execute(self, obj):
place = pts.Placement
nshape.translate(place.Base)
nshape.rotate(place.Base, place.Rotation.Axis, place.Rotation.Angle * 180 / math.pi )
nshape.translate(Base.Vector(pts.X,pts.Y,pts.Z))
else:
nshape.translate(Base.Vector(pts.X,pts.Y,pts.Z))
i += 1
base.append(nshape)
obj.Count = i
Expand Down

0 comments on commit c940269

Please sign in to comment.