diff options
Diffstat (limited to 'indra/newview/llavatarpropertiesprocessor.cpp')
| -rw-r--r-- | indra/newview/llavatarpropertiesprocessor.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llavatarpropertiesprocessor.cpp b/indra/newview/llavatarpropertiesprocessor.cpp index aa24c69831..cc3f1128ed 100644 --- a/indra/newview/llavatarpropertiesprocessor.cpp +++ b/indra/newview/llavatarpropertiesprocessor.cpp @@ -34,6 +34,7 @@ #include "lldateutil.h" #include "llviewergenericmessage.h" #include "llstartup.h" +#include "llgroupcolormap.h" // Linden library includes #include "llavataractions.h" // for getProfileUrl @@ -534,6 +535,8 @@ void LLAvatarPropertiesProcessor::processAvatarGroupsReply(LLMessageSystem* msg, LL_DEBUGS("AvatarProperties") << "Received AvatarGroupsReply for " << avatar_groups.avatar_id << LL_ENDL; + if (!LLGroupColorMap::getInstance()->hasAnyGroupColor()) return; + S32 group_count = msg->getNumberOfBlocksFast(_PREHASH_GroupData); for (S32 i = 0; i < group_count; ++i) { |
