merge changes for storm-1931
commit
76f8d755b0
|
|
@ -175,6 +175,7 @@ Ansariel Hiller
|
|||
STORM-1685
|
||||
STORM-1713
|
||||
STORM-1899
|
||||
STORM-1931
|
||||
Aralara Rajal
|
||||
Ardy Lay
|
||||
STORM-859
|
||||
|
|
|
|||
|
|
@ -6867,6 +6867,17 @@
|
|||
<key>Value</key>
|
||||
<real>90.0</real>
|
||||
</map>
|
||||
<key>PlayChatAnim</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
<string>Your avatar plays the chat animation whenever you say, shout or whisper something in nearby chat</string>
|
||||
<key>Persist</key>
|
||||
<integer>1</integer>
|
||||
<key>Type</key>
|
||||
<string>Boolean</string>
|
||||
<key>Value</key>
|
||||
<integer>1</integer>
|
||||
</map>
|
||||
<key>PlayTypingAnim</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
|
|
|
|||
|
|
@ -381,7 +381,7 @@ void LLChatBar::sendChat( EChatType type )
|
|||
if (!utf8_revised_text.empty())
|
||||
{
|
||||
// Chat with animation
|
||||
sendChatFromViewer(utf8_revised_text, type, TRUE);
|
||||
sendChatFromViewer(utf8_revised_text, type, gSavedSettings.getBOOL("PlayChatAnim"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -577,7 +577,7 @@ void LLFloaterIMNearbyChat::sendChat( EChatType type )
|
|||
if (!utf8_revised_text.empty())
|
||||
{
|
||||
// Chat with animation
|
||||
sendChatFromViewer(utf8_revised_text, type, TRUE);
|
||||
sendChatFromViewer(utf8_revised_text, type, gSavedSettings.getBOOL("PlayChatAnim"));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
#include "llagent.h"
|
||||
#include "llchat.h"
|
||||
|
||||
#include "llviewercontrol.h"
|
||||
|
||||
|
||||
LLFloaterIMNearbyChatListener::LLFloaterIMNearbyChatListener(LLFloaterIMNearbyChat & chatbar)
|
||||
|
|
@ -95,6 +95,6 @@ void LLFloaterIMNearbyChatListener::sendChat(LLSD const & chat_data) const
|
|||
}
|
||||
|
||||
// Send it as if it was typed in
|
||||
mChatbar.sendChatFromViewer(chat_to_send, type_o_chat, (BOOL)(channel == 0));
|
||||
mChatbar.sendChatFromViewer(chat_to_send, type_o_chat, ((BOOL)(channel == 0)) && gSavedSettings.getBOOL("PlayChatAnim"));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue