fixed a bug where editing half-plane scale edited model_orientation

This commit is contained in:
Zeno Rogue
2019-09-12 22:38:47 +02:00
parent 3f941cabb0
commit febb0824a5
+1 -1
View File
@@ -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"), "");
});
}