diff --git a/hypgraph.cpp b/hypgraph.cpp index 3a493a1b..081b98da 100644 --- a/hypgraph.cpp +++ b/hypgraph.cpp @@ -2046,6 +2046,9 @@ EX bool do_draw(cell *c, const transmatrix& T) { if(hybrid::pmap) return hybrid::do_draw(c, T); if(WDIM == 3) { + // do not care about cells outside of the track + if(GDIM == 3 && racing::on && c->land == laMemory && cells_drawn >= S7+1) return false; + if(cells_drawn > vid.cells_drawn_limit) return false; if(cells_drawn < 50) { limited_generation(c); return true; } if(nil && pmodel == mdGeodesic) {