From 4461d142fb950e172c9e205bb6ae5178f1689d6c Mon Sep 17 00:00:00 2001 From: Rye Mutt <rye@alchemyviewer.org> Date: Tue, 18 Apr 2023 13:15:10 -0400 Subject: [PATCH] Fix disabling typing anim checkbox --- indra/newview/llchatbar.cpp | 2 +- indra/newview/llfloaterimnearbychat.cpp | 2 +- indra/newview/llfloaterimnearbychatlistener.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/indra/newview/llchatbar.cpp b/indra/newview/llchatbar.cpp index b872299a8b8..5b7132d16bb 100644 --- a/indra/newview/llchatbar.cpp +++ b/indra/newview/llchatbar.cpp @@ -395,7 +395,7 @@ void LLChatBar::sendChat( EChatType type ) if (!utf8_revised_text.empty() && !ALChatCommand::parseCommand(utf8_revised_text)) { // Chat with animation - sendChatFromViewer(utf8_revised_text, type, gSavedSettings.getBOOL("PlayChatAnim")); + sendChatFromViewer(utf8_revised_text, type, gSavedSettings.getBOOL("PlayTypingAnim")); } } } diff --git a/indra/newview/llfloaterimnearbychat.cpp b/indra/newview/llfloaterimnearbychat.cpp index 82d06db96b3..87279b6970a 100644 --- a/indra/newview/llfloaterimnearbychat.cpp +++ b/indra/newview/llfloaterimnearbychat.cpp @@ -636,7 +636,7 @@ void LLFloaterIMNearbyChat::sendChat( EChatType type ) if (!utf8_revised_text.empty() && !ALChatCommand::parseCommand(utf8_revised_text)) { // Chat with animation - sendChatFromViewer(utf8_revised_text, type, gSavedSettings.getBOOL("PlayChatAnim")); + sendChatFromViewer(utf8_revised_text, type, gSavedSettings.getBOOL("PlayTypingAnim")); } } diff --git a/indra/newview/llfloaterimnearbychatlistener.cpp b/indra/newview/llfloaterimnearbychatlistener.cpp index 5a5f6c72c8c..b7b2adc8e18 100644 --- a/indra/newview/llfloaterimnearbychatlistener.cpp +++ b/indra/newview/llfloaterimnearbychatlistener.cpp @@ -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)) && gSavedSettings.getBOOL("PlayChatAnim")); + mChatbar.sendChatFromViewer(chat_to_send, type_o_chat, ((BOOL)(channel == 0)) && gSavedSettings.getBOOL("PlayTypingAnim")); } -- GitLab