Tiny tweak to handle_go_to that Ubit says will help on opensim

Doesn't seem to change anything on SecondLife.
This commit is contained in:
Inusaito Sayori
2014-10-02 01:01:23 -04:00
parent b119aa49ef
commit 5c86dfeb6e

View File

@@ -2818,11 +2818,11 @@ bool handle_go_to()
std::vector<std::string> 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);