diff options
author | Anchor <none@none> | 2019-02-20 08:39:58 +0530 |
---|---|---|
committer | Anchor <none@none> | 2019-02-20 08:39:58 +0530 |
commit | 1b449fa055ea6c85b464bc799f196e0ab3b7026e (patch) | |
tree | 73624f93aee6dffa779a2e26e9701ba8c815a39c | |
parent | d3323fb316bd9a707cedfa7f730761b4bcd4fbe6 (diff) |
[SL-10079] - added null check
-rw-r--r-- | indra/newview/llpanelvolume.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/indra/newview/llpanelvolume.cpp b/indra/newview/llpanelvolume.cpp index cd36c8f3f2..735eaa423d 100644 --- a/indra/newview/llpanelvolume.cpp +++ b/indra/newview/llpanelvolume.cpp @@ -400,7 +400,10 @@ void LLPanelVolume::getState( ) } } - gAgentAvatarp->updateMeshVisibility(); + if (gAgentAvatarp) + { + gAgentAvatarp->updateMeshVisibility(); + } } @@ -990,7 +993,10 @@ void LLPanelVolume::onCommitAnimatedMeshCheckbox(LLUICtrl *, void*) } } - gAgentAvatarp->updateMeshVisibility(); + if (gAgentAvatarp) + { + gAgentAvatarp->updateMeshVisibility(); + } } } |