FIRE-9410 : Fix for login crash when z offset was not zero

Thanks to Zi for teaching me about Null pointer checks :)
Whirly 2013-03-08 14:57:15 +00:00
parent beaae898cf
commit a238eae593
1 changed files with 1 additions and 0 deletions

View File

@ -562,6 +562,7 @@ bool handleSettingF32Change(const LLSD& sdValue, F32* pValue)
// ## Zi: Moved Avatar Z offset from RLVa to here
bool handleAvatarZOffsetChanged(const LLSD& sdValue)
{
if (gAgentAvatarp)
gAgentAvatarp->computeBodySize();
return true;
}