summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorDmitry Zaporozhan <dzaporozhan@productengine.com>2010-03-23 12:09:57 +0200
committerDmitry Zaporozhan <dzaporozhan@productengine.com>2010-03-23 12:09:57 +0200
commitdc3c0c601693b9f4e35739a48af2c4bf0bffaeb8 (patch)
tree39933b2957c04a18fc5c4eeb9fcff38ffded3491 /indra
parent11e6e208d43f1347037fb312921a65af138f47b4 (diff)
Fixed normal bug EXT-6436 - Not showing all classifieds in Profile sidebar.
Updated code to be able to receive classifieds list in two or more packets.
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llpanelpicks.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llpanelpicks.cpp b/indra/newview/llpanelpicks.cpp
index 0a7c39db46..4ac57bc7a4 100644
--- a/indra/newview/llpanelpicks.cpp
+++ b/indra/newview/llpanelpicks.cpp
@@ -288,7 +288,8 @@ void LLPanelPicks::processProperties(void* data, EAvatarProcessorType type)
LLAvatarClassifieds* c_info = static_cast<LLAvatarClassifieds*>(data);
if(c_info && getAvatarId() == c_info->target_id)
{
- mClassifiedsList->clear();
+ // do not clear classified list in case we will receive two or more data packets.
+ // list has been cleared in updateData(). (fix for EXT-6436)
LLAvatarClassifieds::classifieds_list_t::const_iterator it = c_info->classifieds_list.begin();
for(; c_info->classifieds_list.end() != it; ++it)