From febb0824a544056b333172aad244a113252adbd4 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 20 Mar 2019 02:12:55 +0100 Subject: [PATCH] fixed a bug where editing half-plane scale edited model_orientation --- conformal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conformal.cpp b/conformal.cpp index 33140a83..69156b2a 100644 --- a/conformal.cpp +++ b/conformal.cpp @@ -748,7 +748,7 @@ namespace conformal { if(pmodel == mdHalfplane) { dialog::addSelItem(XLAT("half-plane scale"), fts(halfplane_scale), 'b'); dialog::add_action([] () { - dialog::editNumber(model_orientation, 0, 2, 0.25, 1, XLAT("half-plane scale"), ""); + dialog::editNumber(halfplane_scale, 0, 2, 0.25, 1, XLAT("half-plane scale"), ""); }); }