From 5606007259ef6b488adfa4d34c741635c063e36f Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 8 Nov 2020 11:54:48 +0100 Subject: [PATCH] fixed SLR graphical duplication needlessly called outside of SLR --- hypgraph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypgraph.cpp b/hypgraph.cpp index 452430fe..fc73a659 100644 --- a/hypgraph.cpp +++ b/hypgraph.cpp @@ -1687,7 +1687,7 @@ EX void centerpc(ld aspd) { if(sl || vid.eye) T = T * zpush(cgi.SLEV[sl] - cgi.FLOOR + vid.eye); } #endif - hyperpoint H = iso_inverse(actual_view_transform) * tC0(T); + hyperpoint H = inverse(actual_view_transform) * tC0(T); ld R = (zero_d(GDIM, H) && !prod) ? 0 : hdist0(H); if(R < 1e-9) { // either already centered or direction unknown