diff options
author | McCabe Maxsted | 2010-07-27 12:48:58 -0700 |
---|---|---|
committer | McCabe Maxsted | 2010-07-27 12:48:58 -0700 |
commit | b47c4093755009b1f33648d58439448c5a95def2 (patch) | |
tree | b9eb141d1b98cd071ad3d13245e6df9b6b7d902f | |
parent | Don't cleanup menus on disconnect (#327) (diff) | |
download | meta-impy-b47c4093755009b1f33648d58439448c5a95def2.zip meta-impy-b47c4093755009b1f33648d58439448c5a95def2.tar.gz meta-impy-b47c4093755009b1f33648d58439448c5a95def2.tar.bz2 meta-impy-b47c4093755009b1f33648d58439448c5a95def2.tar.xz |
Don't play typing anim when using a default channel other than 0
-rw-r--r-- | linden/indra/newview/llchatbar.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/linden/indra/newview/llchatbar.cpp b/linden/indra/newview/llchatbar.cpp index bbf6b04..4e491a9 100644 --- a/linden/indra/newview/llchatbar.cpp +++ b/linden/indra/newview/llchatbar.cpp | |||
@@ -557,7 +557,14 @@ void LLChatBar::onInputEditorKeystroke( LLLineEditor* caller, void* userdata ) | |||
557 | if ( (length > 0) && (raw_text[0] != '/') && (!gRlvHandler.hasBehaviour(RLV_BHVR_REDIRCHAT)) ) | 557 | if ( (length > 0) && (raw_text[0] != '/') && (!gRlvHandler.hasBehaviour(RLV_BHVR_REDIRCHAT)) ) |
558 | // [/RLVa:KB] | 558 | // [/RLVa:KB] |
559 | { | 559 | { |
560 | gAgent.startTyping(); | 560 | if (self->mChanCtrlEnabled && (S32)(self->mChannelControl->get()) != 0) |
561 | { | ||
562 | gAgent.stopTyping(); | ||
563 | } | ||
564 | else | ||
565 | { | ||
566 | gAgent.startTyping(); | ||
567 | } | ||
561 | } | 568 | } |
562 | else | 569 | else |
563 | { | 570 | { |