MAINT-4764 Investigate object updates for better child/root drawing on viewer

meow-7.2.2
andreykproductengine 2015-06-03 20:37:26 +03:00
parent 71209a51af
commit dbaec6a34e
1 changed files with 2 additions and 0 deletions

View File

@ -6073,6 +6073,7 @@ void LLVOAvatar::getOffObject()
}
// assumes that transform will not be updated with drawable still having a parent
// or that drawable had no parent from the start
LLVector3 cur_position_world = mDrawable->getWorldPosition();
LLQuaternion cur_rotation_world = mDrawable->getWorldRotation();
@ -6251,6 +6252,7 @@ void LLVOAvatar::onGlobalColorChanged(const LLTexGlobalColor* global_color)
BOOL LLVOAvatar::isVisible() const
{
return mDrawable.notNull()
&& (!mOrphaned || isSelf())
&& (mDrawable->isVisible() || mIsDummy);
}