diff options
| author | Erik Kundiman <erik@megapahit.org> | 2026-09-09 07:33:40 +0800 |
|---|---|---|
| committer | Erik Kundiman <erik@megapahit.org> | 2026-09-09 07:38:32 +0800 |
| commit | 802549fe8cb9c3898f9d100438a1be04ae07d685 (patch) | |
| tree | 95ebbf5efef6bed4660042cc881e1c9ebeb66f0c /indra/newview/llavatarpropertiesprocessor.cpp | |
| parent | 2c5a455fef6d62604f16f78d49f16bd54ac4218f (diff) | |
Skip group tag colour code when no colour is set
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) { |
