diff options
author | Jacek Antonelli | 2008-08-15 23:45:01 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:01 -0500 |
commit | 28d8d4e7664bcd6c8369cc18832e42096af7cad2 (patch) | |
tree | 069020fe66339aff2ca4176370ff743b14713f2d /linden/indra/newview/llfloatertopobjects.cpp | |
parent | Second Life viewer sources 1.17.2.0 (diff) | |
download | meta-impy-28d8d4e7664bcd6c8369cc18832e42096af7cad2.zip meta-impy-28d8d4e7664bcd6c8369cc18832e42096af7cad2.tar.gz meta-impy-28d8d4e7664bcd6c8369cc18832e42096af7cad2.tar.bz2 meta-impy-28d8d4e7664bcd6c8369cc18832e42096af7cad2.tar.xz |
Second Life viewer sources 1.17.3.0
Diffstat (limited to 'linden/indra/newview/llfloatertopobjects.cpp')
-rw-r--r-- | linden/indra/newview/llfloatertopobjects.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/linden/indra/newview/llfloatertopobjects.cpp b/linden/indra/newview/llfloatertopobjects.cpp index 6212ce9..53d00fc 100644 --- a/linden/indra/newview/llfloatertopobjects.cpp +++ b/linden/indra/newview/llfloatertopobjects.cpp | |||
@@ -370,19 +370,22 @@ void LLFloaterTopObjects::onDisableSelected(void* data) | |||
370 | sInstance->doToObjects(ACTION_DISABLE, false); | 370 | sInstance->doToObjects(ACTION_DISABLE, false); |
371 | } | 371 | } |
372 | 372 | ||
373 | //static | ||
373 | void LLFloaterTopObjects::clearList() | 374 | void LLFloaterTopObjects::clearList() |
374 | { | 375 | { |
375 | LLCtrlListInterface *list = childGetListInterface("objects_list"); | 376 | LLCtrlListInterface *list = sInstance->childGetListInterface("objects_list"); |
376 | 377 | ||
377 | if (list) | 378 | if (list) |
378 | { | 379 | { |
379 | list->operateOnAll(LLCtrlListInterface::OP_DELETE); | 380 | list->operateOnAll(LLCtrlListInterface::OP_DELETE); |
380 | } | 381 | } |
381 | 382 | ||
382 | mObjectListData.clear(); | 383 | sInstance->mObjectListData.clear(); |
383 | mObjectListIDs.clear(); | 384 | sInstance->mObjectListIDs.clear(); |
385 | sInstance->mtotalScore = 0.f; | ||
384 | } | 386 | } |
385 | 387 | ||
388 | //static | ||
386 | void LLFloaterTopObjects::onRefresh(void* data) | 389 | void LLFloaterTopObjects::onRefresh(void* data) |
387 | { | 390 | { |
388 | U32 mode = STAT_REPORT_TOP_SCRIPTS; | 391 | U32 mode = STAT_REPORT_TOP_SCRIPTS; |
@@ -397,8 +400,6 @@ void LLFloaterTopObjects::onRefresh(void* data) | |||
397 | sInstance->clearList(); | 400 | sInstance->clearList(); |
398 | } | 401 | } |
399 | 402 | ||
400 | sInstance->mtotalScore = 0.f; | ||
401 | |||
402 | LLMessageSystem *msg = gMessageSystem; | 403 | LLMessageSystem *msg = gMessageSystem; |
403 | msg->newMessageFast(_PREHASH_LandStatRequest); | 404 | msg->newMessageFast(_PREHASH_LandStatRequest); |
404 | msg->nextBlockFast(_PREHASH_AgentData); | 405 | msg->nextBlockFast(_PREHASH_AgentData); |