diff options
author | simon <none@none> | 2013-03-25 11:12:52 -0700 |
---|---|---|
committer | simon <none@none> | 2013-03-25 11:12:52 -0700 |
commit | 98a82c50d539451e1931826ca75fbc01d611806d (patch) | |
tree | 3c3dcac20286246f0724c11f126233702f0bdaaf /indra/newview/llviewergesture.cpp | |
parent | 94ae64d6fd30e4dbc3280cd277f772c038ccd9fe (diff) | |
parent | 515f0e5a559ff3f0cb7d02e1d40b0f71425800ea (diff) |
Pull in downstream CHUI code from viewer-development
Diffstat (limited to 'indra/newview/llviewergesture.cpp')
-rw-r--r-- | indra/newview/llviewergesture.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/newview/llviewergesture.cpp b/indra/newview/llviewergesture.cpp index a32a78cbf9..3f35a5001d 100644 --- a/indra/newview/llviewergesture.cpp +++ b/indra/newview/llviewergesture.cpp @@ -33,6 +33,7 @@ #include "llviewerinventory.h" #include "sound_ids.h" // for testing +#include "llfloaterreg.h" #include "llkeyboard.h" // for key shortcuts for testing #include "llinventorymodel.h" #include "llvoavatar.h" @@ -40,7 +41,7 @@ #include "llviewermessage.h" // send_guid_sound_trigger #include "llviewernetwork.h" #include "llagent.h" -#include "llnearbychatbar.h" +#include "llfloaterimnearbychat.h" // Globals LLViewerGestureList gGestureList; @@ -130,7 +131,8 @@ void LLViewerGesture::doTrigger( BOOL send_chat ) { // Don't play nodding animation, since that might not blend // with the gesture animation. - LLNearbyChatBar::getInstance()->sendChatFromViewer(mOutputString, CHAT_TYPE_NORMAL, FALSE); + (LLFloaterReg::getTypedInstance<LLFloaterIMNearbyChat>("nearby_chat"))-> + sendChatFromViewer(mOutputString, CHAT_TYPE_NORMAL, FALSE); } } |