summaryrefslogtreecommitdiff
path: root/indra/newview/llworldmapview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llworldmapview.cpp')
-rw-r--r--indra/newview/llworldmapview.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/indra/newview/llworldmapview.cpp b/indra/newview/llworldmapview.cpp
index 3644bd0640..10994d38d2 100644
--- a/indra/newview/llworldmapview.cpp
+++ b/indra/newview/llworldmapview.cpp
@@ -148,8 +148,7 @@ LLWorldMapView::LLWorldMapView(const std::string& name, const LLRect& rect )
mMouseDownPanY( 0 ),
mMouseDownX( 0 ),
mMouseDownY( 0 ),
- mSelectIDStart(0),
- mAgentCountsUpdateTime(0)
+ mSelectIDStart(0)
{
sPixelsPerMeter = gMapScale / REGION_WIDTH_METERS;
clearLastClick();
@@ -279,12 +278,6 @@ void LLWorldMapView::draw()
F64 current_time = LLTimer::getElapsedSeconds();
- if (current_time - mAgentCountsUpdateTime > AGENT_COUNTS_UPDATE_TIME)
- {
- gWorldMap->sendItemRequest(MAP_ITEM_AGENT_COUNT);
- mAgentCountsUpdateTime = current_time;
- }
-
mVisibleRegions.clear();
// animate pan if necessary