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 | b9bb95f8ae085f0d9aa1ba0dc6866d44762ad67b (patch) | |
tree | e23b159ce5e71fa5a050d5ac40ed812b47b8ca2a /indra/newview/llviewerobjectlist.cpp | |
parent | d8f00dd1d1d40ec387583575149b1bf9bae79f32 (diff) |
MAINT-2647 Fix for some objects not rendering until first LoD switch/selection.
Diffstat (limited to 'indra/newview/llviewerobjectlist.cpp')
-rwxr-xr-x | 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 11d34ad084..caacf26cb3 100755 --- a/indra/newview/llviewerobjectlist.cpp +++ b/indra/newview/llviewerobjectlist.cpp @@ -2065,8 +2065,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 |