[SL-10079] - added null check
parent
d3323fb316
commit
1b449fa055
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue