more bugfixes in stroke code
[swftools.git] / lib / gfxpoly / poly.c
index efb51fe..9f7e8e8 100644 (file)
@@ -167,6 +167,7 @@ int gfxpoly_size(gfxpoly_t*poly)
 
 char gfxpoly_check(gfxpoly_t*poly)
 {
+    current_polygon = poly;
     dict_t*d = dict_new2(&point_type);
     int s,t;
     gfxpolystroke_t*stroke = poly->strokes;