Safe and probably pointless crash workarounds from FS and LL
This commit is contained in:
@@ -1153,6 +1153,9 @@ void LLVOVolume::updateFaceFlags()
|
||||
{
|
||||
for (S32 i = 0; i < getVolume()->getNumFaces(); i++)
|
||||
{
|
||||
if(mDrawable->getNumFaces() <= i || getNumTEs() <= i)
|
||||
return;
|
||||
|
||||
LLFace *face = mDrawable->getFace(i);
|
||||
if (face)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user