Attempt at a proper fix for attachments/orphan prims being drawn when they shouldn't be (setRegion is already called further down the update chain. Removed a excess call that probably is breaking things.).

This commit is contained in:
Shyotl
2011-10-08 03:11:28 -05:00
parent 9194d5bfcd
commit 88df12ddb6
2 changed files with 1 additions and 2 deletions

View File

@@ -1029,7 +1029,7 @@ BOOL LLDrawable::isVisible() const
return TRUE;
}
#if 1
#if 0
//disabling this code fixes DEV-20105. Leaving in place in case some other bug pops up as a a result.
//should be safe to just always ask the spatial group for visibility.
if (isActive())

View File

@@ -488,7 +488,6 @@ void LLViewerObjectList::processObjectUpdate(LLMessageSystem *mesgsys,
if (objectp->getRegion() != regionp)
{ // Object changed region, so update it
objectp->setRegion(regionp);
objectp->updateRegion(regionp); // for LLVOAvatar
}
}