From bc76bc472c7e508f51d9286bfa6b47aff0966e39 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 9 Sep 2019 16:07:30 +0200 Subject: [PATCH] prettylinesub no longer tries to be pretty if flat --- drawing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drawing.cpp b/drawing.cpp index 3600a613..3a01abea 100644 --- a/drawing.cpp +++ b/drawing.cpp @@ -1559,7 +1559,7 @@ EX void prettypoint(const hyperpoint& h) { } EX void prettylinesub(const hyperpoint& h1, const hyperpoint& h2, int lev) { - if(lev >= 0) { + if(lev >= 0 && pmodel != mdFlatten) { hyperpoint h3 = midz(h1, h2); prettylinesub(h1, h3, lev-1); prettylinesub(h3, h2, lev-1);