summaryrefslogtreecommitdiff
path: root/indra/newview/llavatarpropertiesprocessor.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2026-09-09 07:43:35 +0800
committerErik Kundiman <erik@megapahit.org>2026-09-09 07:43:35 +0800
commitd7ab9fd8c75655b14c0d01815e431eb441c641ed (patch)
treea9752b829f0d740de1eb89256c469bd9a1291184 /indra/newview/llavatarpropertiesprocessor.cpp
parent11cab7b55c64bdc59d0780aacd853e5c12d6adab (diff)
parent802549fe8cb9c3898f9d100438a1be04ae07d685 (diff)
Merge branch 'main' into 26.4
Diffstat (limited to 'indra/newview/llavatarpropertiesprocessor.cpp')
-rw-r--r--indra/newview/llavatarpropertiesprocessor.cpp3
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)
{