improved algorithm to fix unconnected polys
Authored by: heiko 2012-12-22
Parent: [r148]
Child: [r150]