SL-11848 Fixed login crash (Face with no texture index references indexed texture draw info)

master
AndreyL ProductEngine 2019-09-05 23:46:59 +03:00
parent b31a93baa8
commit 8a9a929599
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}