diff options
| author | gabriel lee <gabriel@lindenlab.com> | 2009-12-19 02:02:38 +0000 |
|---|---|---|
| committer | gabriel lee <gabriel@lindenlab.com> | 2009-12-19 02:02:38 +0000 |
| commit | 75a4c5a6dd0cdaf9755bf40821d23c45296181d4 (patch) | |
| tree | 18c897f956ecf0588c3b342bdde1f8c0a6c7daad /indra/newview/llfloatertopobjects.cpp | |
| parent | 06019288c181ad986e854969214a5c6ec3ba69b2 (diff) | |
| parent | e148eebff38acd2c552971c4f24bea79d477dcec (diff) | |
added script limits floater
reviewed by mani
Diffstat (limited to 'indra/newview/llfloatertopobjects.cpp')
| -rw-r--r-- | indra/newview/llfloatertopobjects.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/indra/newview/llfloatertopobjects.cpp b/indra/newview/llfloatertopobjects.cpp index 86992d6a31..c930e99bad 100644 --- a/indra/newview/llfloatertopobjects.cpp +++ b/indra/newview/llfloatertopobjects.cpp @@ -162,7 +162,7 @@ void LLFloaterTopObjects::handleReply(LLMessageSystem *msg, void** data) msg->getU32Fast(_PREHASH_RequestData, _PREHASH_ReportType, mCurrentMode); LLScrollListCtrl *list = getChild<LLScrollListCtrl>("objects_list"); - + S32 block_count = msg->getNumberOfBlocks("ReportData"); for (S32 block = 0; block < block_count; ++block) { @@ -432,7 +432,6 @@ void LLFloaterTopObjects::onRefresh() filter = mFilter; clearList(); - LLMessageSystem *msg = gMessageSystem; msg->newMessageFast(_PREHASH_LandStatRequest); msg->nextBlockFast(_PREHASH_AgentData); @@ -465,7 +464,7 @@ void LLFloaterTopObjects::onGetByOwnerName() } void LLFloaterTopObjects::showBeacon() -{ +{ LLScrollListCtrl* list = getChild<LLScrollListCtrl>("objects_list"); if (!list) return; |
