diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2022-07-18 16:53:43 +0300 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2022-07-18 16:53:43 +0300 |
commit | 38cc06e43a92a10d73ab149944b3cff19b8da8ad (patch) | |
tree | 70965e8f3a8fed1f776509ee699a60d0c2889506 /indra/newview/llfloaterworldmap.cpp | |
parent | 23534c4f1c1dd3e4dbbcd5b5b3aa2bd44f5c6350 (diff) |
SL-17785 FIXED World Map scrolls too slowly when searching for a region.
Diffstat (limited to 'indra/newview/llfloaterworldmap.cpp')
-rwxr-xr-x | 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 e7b1efb41d..6bb0ed73e4 100755 --- a/indra/newview/llfloaterworldmap.cpp +++ b/indra/newview/llfloaterworldmap.cpp @@ -1333,9 +1333,9 @@ void LLFloaterWorldMap::centerOnTarget(BOOL animate) } F64 map_scale = (F64)mMapView->getScale(); - mMapView->setPan(-llfloor((F32)(pos_global.mdV[VX] * map_scale / REGION_WIDTH_METERS)), + mMapView->setPanWithInterpTime(-llfloor((F32)(pos_global.mdV[VX] * map_scale / REGION_WIDTH_METERS)), -llfloor((F32)(pos_global.mdV[VY] * map_scale / REGION_WIDTH_METERS)), - !animate); + !animate, 0.1f); mWaitingForTracker = FALSE; } |