SL-11848 Fixed login crash (Face with no texture index references indexed texture draw info)
parent
b31a93baa8
commit
8a9a929599
|
|
@ -462,7 +462,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