diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-06-16 22:55:55 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-06-16 22:57:07 +0300 |
commit | f1ff6c7ec131d0058333070f52e63365229af4d2 (patch) | |
tree | c332c1230bf7393d04b3eba26a00974f008fe864 /indra/newview/llagentui.cpp | |
parent | 47c15e9dabf887a83186acf98213316fe5f807c5 (diff) |
Revert "SL-19404 Navigation bar coordinates slightly off"
This reverts commit 94fd5bcca5723f9779bf1c719e8b2ec6016dc0e8.
Would be present in DRTVWR-582, reverting to not confuse QA
Diffstat (limited to 'indra/newview/llagentui.cpp')
-rw-r--r-- | indra/newview/llagentui.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llagentui.cpp b/indra/newview/llagentui.cpp index acb1a37ff5..c19ad2ae6f 100644 --- a/indra/newview/llagentui.cpp +++ b/indra/newview/llagentui.cpp @@ -82,9 +82,9 @@ BOOL LLAgentUI::buildLocationString(std::string& str, ELocationFormat fmt,const if (!region || !parcel) return FALSE; - S32 pos_x = S32(agent_pos_region.mV[VX] + 0.5f); - S32 pos_y = S32(agent_pos_region.mV[VY] + 0.5f); - S32 pos_z = S32(agent_pos_region.mV[VZ] + 0.5f); + S32 pos_x = S32(agent_pos_region.mV[VX]); + S32 pos_y = S32(agent_pos_region.mV[VY]); + S32 pos_z = S32(agent_pos_region.mV[VZ]); // Round the numbers based on the velocity F32 velocity_mag_sq = gAgent.getVelocity().magVecSquared(); |