From c1386d49b765d6ce45e249a056d811a4914b0dbe Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 4 Feb 2021 21:30:59 +0100 Subject: [PATCH] no in_vr_sphere except in sphere --- drawing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drawing.cpp b/drawing.cpp index 40c865f7..6f0399b5 100644 --- a/drawing.cpp +++ b/drawing.cpp @@ -2256,7 +2256,7 @@ EX void reverse_transparent_walls() { EX void set_vr_sphere() { in_vr_sphere = false; #if CAP_VR - in_vr_sphere = vrhr::rendering() && among(pmodel, mdDisk, mdBall, mdHyperboloid, mdHalfplane, mdHemisphere); + in_vr_sphere = vrhr::rendering() && among(pmodel, mdDisk, mdBall, mdHyperboloid, mdHalfplane, mdHemisphere) && sphere; if(in_vr_sphere) { hyperpoint a, b; applymodel(shiftless(point3(0, 0, 1)), a);