SL-11848 Fixed login crash (Face with no texture index references indexed texture draw info)
parent
5b0865d7a7
commit
d07ff62c74
|
|
@ -478,7 +478,7 @@ void LLFace::setTextureIndex(U8 index)
|
|||
}
|
||||
else
|
||||
{
|
||||
if (mDrawInfo && !mDrawInfo->mTextureList.empty())
|
||||
if (mDrawInfo && mDrawInfo->mTextureList.size() <= 1)
|
||||
{
|
||||
LL_ERRS() << "Face with no texture index references indexed texture draw info." << LL_ENDL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue