[SL-10079] - added null check

meow-7.2.2
Anchor 2019-02-20 08:39:58 +05:30
parent d3323fb316
commit 1b449fa055
1 changed files with 8 additions and 2 deletions

View File

@ -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();
}
}
}