From dc3c0c601693b9f4e35739a48af2c4bf0bffaeb8 Mon Sep 17 00:00:00 2001 From: Dmitry Zaporozhan Date: Tue, 23 Mar 2010 12:09:57 +0200 Subject: 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. --- indra/newview/llpanelpicks.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'indra') 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(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) -- cgit v1.2.3