Make sure we always get the offset right on SL
parent
722dedbe93
commit
26e18c6448
|
|
@ -3308,7 +3308,13 @@ void LLVOAvatarSelf::dumpWearableInfo(LLAPRFile& outfile)
|
|||
// [RLVa:KB] - Checked: 2013-03-03 (RLVa-1.4.8)
|
||||
F32 LLVOAvatarSelf::getAvatarOffset() /*const*/
|
||||
{
|
||||
return (isUsingServerBakes()) ? LLAvatarAppearance::getAvatarOffset() : gSavedPerAccountSettings.getF32("AvatarHoverOffsetZ");
|
||||
#ifdef OPENSIM
|
||||
if (!LLGridManager::getInstance()->isInSecondLife())
|
||||
{
|
||||
return (isUsingServerBakes()) ? LLAvatarAppearance::getAvatarOffset() : gSavedPerAccountSettings.getF32("AvatarHoverOffsetZ");
|
||||
}
|
||||
#endif
|
||||
return LLAvatarAppearance::getAvatarOffset();
|
||||
}
|
||||
// [/RLVa:KB]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue