diff options
Diffstat (limited to 'indra/newview/llteleporthistorystorage.cpp')
-rw-r--r-- | indra/newview/llteleporthistorystorage.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/indra/newview/llteleporthistorystorage.cpp b/indra/newview/llteleporthistorystorage.cpp index e02f76711c..dd7c6aa9e3 100644 --- a/indra/newview/llteleporthistorystorage.cpp +++ b/indra/newview/llteleporthistorystorage.cpp @@ -127,12 +127,6 @@ void LLTeleportHistoryStorage::addItem(const std::string title, const LLVector3d S32 removed_index = -1; if (item_iter != mItems.end()) { - // When teleporting via history it's possible that there can be - // an offset applied to the position, so each new teleport can - // be a meter higher than the last. - // Avoid it by preserving original position. - item.mGlobalPos = item_iter->mGlobalPos; - removed_index = (S32)(item_iter - mItems.begin()); mItems.erase(item_iter); } |