diff -r 20e169c8efe9 -r 8c6589718ce7 graphics/GraphicCommons.py --- a/graphics/GraphicCommons.py Thu Mar 05 16:56:30 2009 +0100 +++ b/graphics/GraphicCommons.py Thu Mar 05 16:57:25 2009 +0100 @@ -1651,7 +1651,7 @@ if i < len(self.Points) - 2: next = vector(self.Points[i + 1], self.Points[i + 2]) if next == segment or is_null_vector(add_vectors(segment, next)): - self.Points.insert(i + 1, wx.Point(self.Points[i].x, self.Points[i].y)) + self.Points.insert(i + 1, wx.Point(self.Points[i + 1].x, self.Points[i + 1].y)) self.Segments.append(segment) i += 1 self.RefreshBoundingBox()