From 1e0f8f45b1ba1032aac8d7240d9385402a320415 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 13 Feb 2020 11:03:22 +0100 Subject: [PATCH] manual-animation: b4_distance only in Solv --- devmods/manual-animation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devmods/manual-animation.cpp b/devmods/manual-animation.cpp index de9109a2..cc639d2b 100644 --- a/devmods/manual-animation.cpp +++ b/devmods/manual-animation.cpp @@ -136,7 +136,7 @@ void get_b4_distance() { heptagon *h2 = centerover->master; if(h1->distance != h2->distance) println(hlog, "Z difference: ", h2->distance - h1->distance); - else { + else if(sn::in()) { auto c1 = sn::getcoord(h1); auto c2 = sn::getcoord(h2); println(hlog, "X difference: ", bdiff(c1.first, c2.first).get_str(10000));