diff options
author | Oz Linden <oz@lindenlab.com> | 2011-06-01 22:07:12 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-06-01 22:07:12 -0400 |
commit | 8bfd3201de0d135ef984dc270e83ea88d8f03dd6 (patch) | |
tree | 040272fc843ed2b00c9b9b162dad9fa503ef078a /indra/newview/llviewerchat.cpp | |
parent | 68088a27ba92d8a3ce84ee6e5691e9e2e08b7b32 (diff) | |
parent | 361384ebb9f41dbccbaab779a085edb773f0a734 (diff) |
merge changes for latest viewer-development
Diffstat (limited to 'indra/newview/llviewerchat.cpp')
-rw-r--r-- | indra/newview/llviewerchat.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llviewerchat.cpp b/indra/newview/llviewerchat.cpp index e06fe7bda0..93687dbd5f 100644 --- a/indra/newview/llviewerchat.cpp +++ b/indra/newview/llviewerchat.cpp @@ -80,6 +80,10 @@ void LLViewerChat::getChatColor(const LLChat& chat, LLColor4& r_color) { r_color = LLUIColorTable::instance().getColor("llOwnerSayChatColor"); } + else if ( chat.mChatType == CHAT_TYPE_DIRECT ) + { + r_color = LLUIColorTable::instance().getColor("DirectChatColor"); + } else { r_color = LLUIColorTable::instance().getColor("ObjectChatColor"); @@ -146,6 +150,10 @@ void LLViewerChat::getChatColor(const LLChat& chat, std::string& r_color_name, F { r_color_name = "llOwnerSayChatColor"; } + else if ( chat.mChatType == CHAT_TYPE_DIRECT ) + { + r_color_name = "DirectChatColor"; + } else { r_color_name = "ObjectChatColor"; |