diff options
author | Dave Parks <davep@lindenlab.com> | 2013-05-09 15:40:02 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2013-05-09 15:40:02 -0500 |
commit | be9f71d16660e37fb058ddf05f20e6a80a272862 (patch) | |
tree | 5c416e80224e213ac46a98284fa8ade610290974 /indra/newview/llviewerobjectlist.cpp | |
parent | 592586052c9f0b4a189e5ebdeecb737ecd2eed9c (diff) |
MAINT-2647 Fix for some objects not rendering until first LoD switch/selection.
Diffstat (limited to 'indra/newview/llviewerobjectlist.cpp')
-rw-r--r-- | indra/newview/llviewerobjectlist.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llviewerobjectlist.cpp b/indra/newview/llviewerobjectlist.cpp index fa79ac07e6..66615657d8 100644 --- a/indra/newview/llviewerobjectlist.cpp +++ b/indra/newview/llviewerobjectlist.cpp @@ -2064,8 +2064,9 @@ void LLViewerObjectList::findOrphans(LLViewerObject* objectp, U32 ip, U32 port) if (childp->mDrawable.notNull()) { // Make the drawable visible again and set the drawable parent - childp->mDrawable->setState(LLDrawable::CLEAR_INVISIBLE); + childp->mDrawable->clearState(LLDrawable::FORCE_INVISIBLE); childp->setDrawableParent(objectp->mDrawable); // LLViewerObjectList::findOrphans() + gPipeline.markRebuild( childp->mDrawable, LLDrawable::REBUILD_ALL, TRUE ); } // Make certain particles, icon and HUD aren't hidden |