Comment 2 for bug 515237

Revision history for this message
Alvin Penner (apenner) wrote :

It looks as if the problem is caused by round-off error.
In the XML editor all four objects are identical, they all have a start point followed by 6 nodes, as expected. The difference is that three of them have relative coordinates that add up perfectly to zero, while the fourth one does not.
    Attached is a file with the calculation of the net movement of the final point relative to the initial point, which should be zero. In the third object there is an error of .00023 in the x-coordinate net movement which is enough to apparently make the parser think that the object is not closed, so it adds on an additional point.