diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index d0a8f3cf47..7685849a46 100644 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -2715,6 +2715,7 @@ void LLVOAvatar::idleUpdateNameTagText(BOOL new_name) static LLUICachedControl colorize_tags("FSColorizeTags"); bool show_friends = (colorize_friends && colorize_tags); // + static LLUICachedControl color_client_tags("FSColorClienttags"); if(mClientTagData.has("color") && !(show_friends && (is_friend || LGGContactSets::getInstance()->hasFriendColorThatShouldShow(getID(), LGG_CS_TAG))) && color_client_tags > 0 && !this->isSelf()) { @@ -2766,14 +2767,6 @@ void LLVOAvatar::idleUpdateNameTagText(BOOL new_name) } } // - // Colorize tags - static LLCachedControl fsShowOwnTagColor(gSavedSettings, "FSShowOwnTagColor"); - if (isSelf() && fsShowOwnTagColor) - { - static LLCachedControl firestormTagColor(gSavedPerAccountSettings, "FirestormTagColor"); - name_tag_color = firestormTagColor; - } - // // Rebuild name tag if state change detected if (mNameString.empty() @@ -3176,6 +3169,14 @@ LLColor4 LLVOAvatar::getNameTagColor() // FIRE-1061 - Color friends, lindens, muted, etc color = LGGContactSets::getInstance()->getSpecialColor(getID(), color); + static LLUICachedControl fsShowOwnTagColor("FSShowOwnTagColor"); + if (isSelf() && fsShowOwnTagColor) + { + static LLCachedControl firestormTagColor(gSavedPerAccountSettings, "FirestormTagColor"); + color = firestormTagColor; + } + // + if (LGGContactSets::getInstance()->hasFriendColorThatShouldShow(getID(), LGG_CS_TAG)) { color = LGGContactSets::getInstance()->getFriendColor(getID());