handle SEG_CLOSE and fix #1600

This commit is contained in:
Dane Springmeyer 2013-03-06 11:35:12 -08:00
parent 7a4b4a5d53
commit 536cbd55d0

View file

@ -174,7 +174,7 @@ public:
last_x = next_x;
last_y = next_y;
}
if (agg::is_stop(cmd))
else if (agg::is_stop(cmd) || cmd == SEG_CLOSE)
{
done_ = true;
return false;