Make minimap not die on dead objects
This commit is contained in:
@@ -1092,9 +1092,9 @@ void LLViewerObjectList::renderObjectsForMap(LLNetMap &netmap)
|
|||||||
LLViewerObject* objectp = *iter;
|
LLViewerObject* objectp = *iter;
|
||||||
|
|
||||||
llassert_always(objectp);
|
llassert_always(objectp);
|
||||||
llassert_always(!objectp->isDead());
|
llassert(!objectp->isDead());
|
||||||
|
|
||||||
if (!objectp->getRegion() || objectp->isOrphaned() || objectp->isAttachment())
|
if (objectp->isDead() || !objectp->getRegion() || objectp->isOrphaned() || objectp->isAttachment())
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user