diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index 412da60ca7..906fddd4bf 100644 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -3,53 +3,65 @@ xsi:noNamespaceSchemaLocation="llsd.xsd"> - PhoenixOOCPrefix - - Comment - Prefix to mark OOC chat - Persist - 1 - Type - String - Value - (( - - PhoenixOOCPostfix - - Comment - Postfix to mark OOC chat - Persist - 1 - Type - String - Value - )) - + ShowViewerIDsOnNameTag + + Comment + Show viewer identification when display hovertext names over avatars + Persist + 1 + Type + Boolean + Value + 1 + + PhoenixOOCPrefix + + Comment + Prefix to mark OOC chat + Persist + 1 + Type + String + Value + (( + + + PhoenixOOCPostfix + + Comment + Postfix to mark OOC chat + Persist + 1 + Type + String + Value + )) + PhoenixPlayChatAnimation - - Comment - Play the avatar chat animations, e.g. shouting - Persist - 1 - Type - Boolean - Value - 1 - + + Comment + Play the avatar chat animations, e.g. shouting + Persist + 1 + Type + Boolean + Value + 1 + - ShowScriptDialogsTopRight - - Comment - Show script llDialog floaters always in the top right corner of the screen. - Persist - 1 - Type - Boolean - Value - 1 - + ShowScriptDialogsTopRight + + Comment + Show script llDialog floaters always in the top right corner of the screen. + Persist + 1 + Type + Boolean + Value + 1 + RadarReportChatRange diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index f635f0633d..84fc989d04 100644 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -3012,9 +3012,8 @@ void LLVOAvatar::idleUpdateNameTagText(BOOL new_name) // Might be blank if name not available yet, that's OK if (show_display_names) { - if (!mClientTag.empty()) + if (!mClientTag.empty() && gSavedSettings.getBOOL("ShowViewerIDsOnNameTag")) { - lldebugs << "ClientTag is set! mClientTag=" << mClientTag << llendl; LLColor4 name_tag_color = getNameTagColor(is_friend); // could be modified later addNameTagLine(av_name.mDisplayName+" (" + mClientTag + ")",name_tag_color,LLFontGL::NORMAL, LLFontGL::getFontSansSerif()); } @@ -3057,7 +3056,7 @@ void LLVOAvatar::idleUpdateNameTagText(BOOL new_name) // [/RLVa:KB] else // Only check for client tags when not RLV anon -AO { - if (!mClientTag.empty()) + if (!mClientTag.empty() && gSavedSettings.getBOOL("ShowViewerIDsOnNameTag")) { lldebugs << "ClientTag is set! mClientTag=" << mClientTag << llendl; LLColor4 name_tag_color = getNameTagColor(is_friend); // could be modified later @@ -7054,13 +7053,11 @@ void LLVOAvatar::processAvatarAppearance( LLMessageSystem* mesgsys ) // LLTextureEntry* tex = getTE(0); const LLUUID tag_uuid = tex->getID(); - llinfos << "LLVOAvatar::processAvatarAppearance() Checking Texture " << tex->getID() << llendl; - resolveClient(tag_uuid); // sets mClientTag if (mClientTag != "") { - llinfos << "LLVOAvatar::processAvatarAppearance() Detected ClientTag=" << mClientTag << llendl; + //llinfos << "LLVOAvatar::processAvatarAppearance() Detected ClientTag=" << mClientTag << llendl; mNameString.clear(); } else if(tex->getGlow() > 0.0f) @@ -7069,7 +7066,7 @@ void LLVOAvatar::processAvatarAppearance( LLMessageSystem* mesgsys ) U32 tag_len = strnlen((const char*)&tag_uuid.mData[0], UUID_BYTES); mClientTag = std::string((const char*)&tag_uuid.mData[0], tag_len); LLStringFn::replace_ascii_controlchars(mClientTag, LL_UNKNOWN_CHAR); - llinfos << "LLVOAvatar::processAvatarAppearance() Detected ClientTag=" << mClientTag << llendl; + //llinfos << "LLVOAvatar::processAvatarAppearance() Detected ClientTag=" << mClientTag << llendl; mNameString.clear(); } else diff --git a/indra/newview/skins/default/xui/en/panel_preferences_general.xml b/indra/newview/skins/default/xui/en/panel_preferences_general.xml index 0c8692d584..913b55501e 100644 --- a/indra/newview/skins/default/xui/en/panel_preferences_general.xml +++ b/indra/newview/skins/default/xui/en/panel_preferences_general.xml @@ -275,27 +275,28 @@ name="show_slids" tool_tip="Show username, like bobsmith123" top_delta="0" /> - - + + + + +