From 85ea29e2dff2383fead9604d0839418b16628336 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 9 Sep 2019 18:55:38 +0200 Subject: [PATCH] fixed optimizeview in S2xE --- hypgraph.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hypgraph.cpp b/hypgraph.cpp index 00e49af0..7ccbfc09 100644 --- a/hypgraph.cpp +++ b/hypgraph.cpp @@ -1411,7 +1411,9 @@ EX void optimizeview() { if(prod) { ld z = zlevel(tC0(View)); View = mscale(View, -z); + if(product::product_sphere()) View = centralsym * View; hybrid::in_underlying_map(optimizeview); + if(product::product_sphere()) View = centralsym * View; if(z > cgi.plevel / 2) { hybrid::current_view_level--; z -= cgi.plevel; } if(z < -cgi.plevel / 2) { hybrid::current_view_level++; z += cgi.plevel; } View = mscale(View, z);