diff --git a/graph.cpp b/graph.cpp index f363baf3..85a1293a 100644 --- a/graph.cpp +++ b/graph.cpp @@ -4791,7 +4791,7 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) { case laSwitch: set_floor(shSwitchFloor); - if(ctof(c) && STDVAR && !archimedean && !binarytiling) for(int i=0; itype; i++) + if(ctof(c) && STDVAR && !archimedean && !binarytiling && GDIM == 2) for(int i=0; itype; i++) queuepoly(Vf * ddspin(c, i, M_PI/S7) * xpush(rhexf), shSwitchDisk, darkena(minf[active_switch()].color, fd, 0xFF)); break;