diff options
author | andreykproductengine <akleshchev@productengine.com> | 2016-12-26 19:08:46 +0200 |
---|---|---|
committer | andreykproductengine <akleshchev@productengine.com> | 2016-12-26 19:08:46 +0200 |
commit | 596018361c2f3980eab7dd4275c2bdeb6c8505e3 (patch) | |
tree | fb59f7e65aa3f7a43c981615ff817a53bc224347 /indra | |
parent | f08e6b873cafab9fc32d96d71814ee3a7633e051 (diff) |
MAINT-965 FIXED Teleport to friend location in world map omits Z value
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llfloaterworldmap.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llfloaterworldmap.cpp b/indra/newview/llfloaterworldmap.cpp index c67feb8158..c0bd9b1c23 100644 --- a/indra/newview/llfloaterworldmap.cpp +++ b/indra/newview/llfloaterworldmap.cpp @@ -546,7 +546,7 @@ void LLFloaterWorldMap::trackAvatar( const LLUUID& avatar_id, const std::string& // convenience. if(gAgent.isGodlike()) { - getChild<LLUICtrl>("spin z")->setValue(LLSD(200.f)); + getChild<LLUICtrl>("teleport_coordinate_z")->setValue(LLSD(200.f)); } // Don't re-request info if we already have it or we won't have it in time to teleport if (mTrackedStatus != LLTracker::TRACKING_AVATAR || name != mTrackedAvatarName) @@ -1375,7 +1375,7 @@ void LLFloaterWorldMap::teleport() && av_tracker.haveTrackingInfo() ) { pos_global = av_tracker.getGlobalPos(); - pos_global.mdV[VZ] = getChild<LLUICtrl>("spin z")->getValue(); + pos_global.mdV[VZ] = getChild<LLUICtrl>("teleport_coordinate_z")->getValue(); } else if ( LLTracker::TRACKING_LANDMARK == tracking_status) { |