summaryrefslogtreecommitdiff
path: root/indra/newview/llvoiceclient.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2022-09-21 20:52:27 +0100
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2022-09-21 20:52:27 +0100
commit3994101549eddf84d6c73982109f68d016a819ba (patch)
tree8871dec5111d67dd1b8664edb349e3d8cd4b947a /indra/newview/llvoiceclient.cpp
parent9c903e7fa8aea1e8378f3b1276688f6b3a7ed82c (diff)
SL-18119 - more ViewerStats logs for NUX
Diffstat (limited to 'indra/newview/llvoiceclient.cpp')
-rw-r--r--indra/newview/llvoiceclient.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llvoiceclient.cpp b/indra/newview/llvoiceclient.cpp
index e2bd1a39c7..8261fc7fb4 100644
--- a/indra/newview/llvoiceclient.cpp
+++ b/indra/newview/llvoiceclient.cpp
@@ -602,6 +602,10 @@ void LLVoiceClient::setMuteMic(bool muted)
void LLVoiceClient::setUserPTTState(bool ptt)
{
+ if (ptt)
+ {
+ LLUIUsage::instance().logCommand("Agent.EnableMicrophone");
+ }
mUserPTTState = ptt;
updateMicMuteLogic();
mMicroChangedSignal();