Skip to content

Commit

Permalink
Merge pull request #3581 from gwicke/optimizeLinearSegments_fix
Browse files Browse the repository at this point in the history
Path: Fix for optimizeLinearSegments
  • Loading branch information
sliptonic committed Jun 8, 2020
2 parents 11f5500 + bec4afa commit 9daeaba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Path/PathScripts/PathSurface.py
Expand Up @@ -2093,7 +2093,7 @@ def _optimizeLinearSegments(self, line):
for nxt in line[2:]:
if not pnt.isOnLineSegment(prv, nxt):
pts.append(pnt)
prv = pnt
prv = pnt
pnt = nxt
pts.append(line[-1])
return pts
Expand Down

0 comments on commit 9daeaba

Please sign in to comment.