Commit 88ad185d authored by Rye Mutt's avatar Rye Mutt 🍞
Browse files

Fix crash that occured on far-hypergrid teleport

parent ea10cffd
...@@ -760,7 +760,7 @@ void LLViewerPartSim::updateSimulation() ...@@ -760,7 +760,7 @@ void LLViewerPartSim::updateSimulation()
if ((LLDrawable::getCurrentFrame()+mViewerPartGroups[i]->mID)%visirate == 0) if ((LLDrawable::getCurrentFrame()+mViewerPartGroups[i]->mID)%visirate == 0)
{ {
if (vobj && !vobj->isDead()) if (vobj && !vobj->isDead() && vobj->mDrawable)
{ {
gPipeline.markRebuild(vobj->mDrawable, LLDrawable::REBUILD_ALL, TRUE); gPipeline.markRebuild(vobj->mDrawable, LLDrawable::REBUILD_ALL, TRUE);
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment