From eed92c5b96c8ba1751d7e8bc2eab17f51dd3f9b9 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 20 Mar 2019 02:13:17 +0100 Subject: [PATCH] mobius transformations only in 2D --- conformal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conformal.cpp b/conformal.cpp index 69156b2a..7a25389e 100644 --- a/conformal.cpp +++ b/conformal.cpp @@ -805,7 +805,7 @@ namespace conformal { }); } - if(among(pmodel, mdJoukowsky, mdJoukowskyInverted, mdSpiral)) { + if(among(pmodel, mdJoukowsky, mdJoukowskyInverted, mdSpiral) && DIM == 2) { dialog::addSelItem(XLAT("Möbius transformations"), fts3(vid.skiprope), 'S'); dialog::add_action([](){ dialog::editNumber(vid.skiprope, 0, 360, 15, 0, XLAT("Möbius transformations"), "");