summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorandreykproductengine <akleshchev@productengine.com>2015-06-03 20:37:26 +0300
committerandreykproductengine <akleshchev@productengine.com>2015-06-03 20:37:26 +0300
commitdbaec6a34e45ffdd90d09b291dce79b3fafd520c (patch)
treeb640c1f8ec446e8dd375f1d52c39d2cdf374645f /indra
parent71209a51af1f2069938653a0de8b9af0e42b56d6 (diff)
MAINT-4764 Investigate object updates for better child/root drawing on viewer
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/llvoavatar.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index 6e0d77b10a..b731f242ce 100755
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -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);
}