fix closing polygons on reprojection

This commit is contained in:
Jiri Drbalek 2017-05-16 12:02:37 +00:00
parent abff549ed0
commit 4084e670ec

View file

@ -86,7 +86,7 @@ struct transform_path_adapter
while (!ok) while (!ok)
{ {
command = geom_.vertex(x,y); command = geom_.vertex(x,y);
if (command == SEG_END) if (command == SEG_END || command == SEG_CLOSE)
{ {
return command; return command;
} }