diff --git a/drawing.cpp b/drawing.cpp index 22e6ffd7..569d5e8e 100644 --- a/drawing.cpp +++ b/drawing.cpp @@ -988,8 +988,7 @@ void draw_s2xe(dqi_poly *p, dqi_poly *npoly) { int g = no_gens ? 0 : maxgen; - for(int gen=g; gen<=g; gen++) { - if(gen && no_gens) continue; + for(int gen=-g; gen<=g; gen++) { for(int i=0; icnt; i++) { auto& cur = pd[i]; ld d = cur.distance + 2 * M_PI * gen;