From 5c86dfeb6e1bde428599299890d4c131a27bf0fe Mon Sep 17 00:00:00 2001 From: Inusaito Sayori Date: Thu, 2 Oct 2014 01:01:23 -0400 Subject: [PATCH] Tiny tweak to handle_go_to that Ubit says will help on opensim Doesn't seem to change anything on SecondLife. --- indra/newview/llviewermenu.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp index 59dd5d252..0a57d3a1f 100644 --- a/indra/newview/llviewermenu.cpp +++ b/indra/newview/llviewermenu.cpp @@ -2818,11 +2818,11 @@ bool handle_go_to() std::vector strings; std::string val; LLVector3d pos = LLToolPie::getInstance()->getPick().mPosGlobal; - val = llformat("%g", pos.mdV[VX]); + val = llformat("%.9g", pos.mdV[VX]); strings.push_back(val); - val = llformat("%g", pos.mdV[VY]); + val = llformat("%.9g", pos.mdV[VY]); strings.push_back(val); - val = llformat("%g", pos.mdV[VZ]); + val = llformat("%.9g", pos.mdV[VZ]); strings.push_back(val); send_generic_message("autopilot", strings);