From 31f1699e51db3e10bb40884dc25af4644ddecba1 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 17 Apr 2020 15:37:02 +0200 Subject: [PATCH] fixed the comment in TwoPoint parameter --- models.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/models.cpp b/models.cpp index 98442117..3974d4f2 100644 --- a/models.cpp +++ b/models.cpp @@ -570,10 +570,11 @@ EX namespace models { if(among(vpmodel, mdTwoPoint, mdSimulatedPerspective, mdTwoHybrid)) { dialog::addSelItem(XLAT("parameter"), fts(vpconf.twopoint_param), 'b'); - dialog::add_action([](){ + dialog::add_action([vpmodel](){ dialog::editNumber(vpconf.twopoint_param, 1e-3, 10, .1, 1, XLAT("parameter"), + s0 + (vpmodel == mdTwoPoint ? "This model maps the world so that the distances from two points " - "are kept. This parameter gives the distance from the two points to " + "are kept. " : "") + "This parameter gives the distance from the two points to " "the center." ); dialog::scaleLog();