gwaldron/osgearth — pull request #512 by jmw-ifad (2014-06-05 09:29:19+00:00)
Title: Fix for almost infinite loop in "Insert intermediate Corners " code

When next_corner = corners.begin, and a fake corner was inserted,
the for loop would restart on the next iteration.
Due to float inaccuracies, additional fake corners would be added.

I've had a 4 point polygon end up with 15000 + vertices.