[FIRE-34565] Bugsplat crash Added null check to prevent crash

Is this a whack-a-mole bug that will pop up later?
master
Beq 2024-09-25 00:23:53 +01:00
parent 3bc16bd6da
commit f16c7b2eee
1 changed files with 1 additions and 0 deletions

View File

@ -1180,6 +1180,7 @@ void LLVOTree::updateSpatialExtents(LLVector4a& newMin, LLVector4a& newMax)
mDrawable->setPositionGroup(pos);
LLFace* facep = mDrawable->getFace(0);
if (!facep) return; // <FS:Beq/> FIRE-34565 Repeatable Bugsplat crash while driving on mainland.
facep->mExtents[0] = newMin;
facep->mExtents[1] = newMax;
}