aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llchatbar.cpp
diff options
context:
space:
mode:
authorPatrick Sapinski2010-08-24 14:40:28 -0400
committerMcCabe Maxsted2010-08-30 17:16:51 -0700
commit86acaec2979f6903d93d0cc277d380a2ec012b00 (patch)
tree76869e6da7645ef7654d4713857905f3a237985d /linden/indra/newview/llchatbar.cpp
parentforgot a few settings necessary for the translation feature (diff)
downloadmeta-impy-86acaec2979f6903d93d0cc277d380a2ec012b00.zip
meta-impy-86acaec2979f6903d93d0cc277d380a2ec012b00.tar.gz
meta-impy-86acaec2979f6903d93d0cc277d380a2ec012b00.tar.bz2
meta-impy-86acaec2979f6903d93d0cc277d380a2ec012b00.tar.xz
updated chatbar command line and added the necessary settings and hooks to use it
Diffstat (limited to 'linden/indra/newview/llchatbar.cpp')
-rw-r--r--linden/indra/newview/llchatbar.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/linden/indra/newview/llchatbar.cpp b/linden/indra/newview/llchatbar.cpp
index 3c977dd..dc67448 100644
--- a/linden/indra/newview/llchatbar.cpp
+++ b/linden/indra/newview/llchatbar.cpp
@@ -69,6 +69,7 @@
69#include "llui.h" 69#include "llui.h"
70#include "lluictrlfactory.h" 70#include "lluictrlfactory.h"
71 71
72#include "chatbar_as_cmdline.h"
72 73
73// 74//
74// Globals 75// Globals
@@ -457,6 +458,8 @@ void LLChatBar::sendChat( EChatType type )
457 utf8_revised_text = utf8str_trim(utf8_revised_text); 458 utf8_revised_text = utf8str_trim(utf8_revised_text);
458 459
459 if (!utf8_revised_text.empty()) 460 if (!utf8_revised_text.empty())
461
462 if (!utf8_revised_text.empty() && cmd_line_chat(utf8_revised_text, type))
460 { 463 {
461 // Chat with animation 464 // Chat with animation
462 sendChatFromViewer(utf8_revised_text, type, TRUE); 465 sendChatFromViewer(utf8_revised_text, type, TRUE);