summaryrefslogtreecommitdiff
path: root/indra/newview/llviewercontrol.cpp
diff options
context:
space:
mode:
authorEuclid Linden <euclid@lindenlab.com>2021-04-01 21:14:16 +0000
committerEuclid Linden <euclid@lindenlab.com>2021-04-01 21:14:16 +0000
commit2130b6b144b64c223a656206f0d3e9babfd9a863 (patch)
tree8f47ce24e0d455c0478e6266d8a7c3874883e055 /indra/newview/llviewercontrol.cpp
parentd357bf7ae5c5e0b6e66e7d82ce1677360b4cb990 (diff)
parent3cad30d9ee6a0cd2a68ed213e7383fa11df9d9f5 (diff)
Merged in DV525-merge-6.4.18 (pull request #511)
DRTVWR-525 merge up to 6.4.18
Diffstat (limited to 'indra/newview/llviewercontrol.cpp')
-rw-r--r--indra/newview/llviewercontrol.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llviewercontrol.cpp b/indra/newview/llviewercontrol.cpp
index 8aa5b07561..76dc9a6790 100644
--- a/indra/newview/llviewercontrol.cpp
+++ b/indra/newview/llviewercontrol.cpp
@@ -510,7 +510,10 @@ bool handleHighResSnapshotChanged(const LLSD& newvalue)
bool handleVoiceClientPrefsChanged(const LLSD& newvalue)
{
- LLVoiceClient::getInstance()->updateSettings();
+ if (LLVoiceClient::instanceExists())
+ {
+ LLVoiceClient::getInstance()->updateSettings();
+ }
return true;
}