summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAndreyL ProductEngine <alihatskiy@productengine.com>2019-09-05 23:46:59 +0300
committerAndreyL ProductEngine <alihatskiy@productengine.com>2019-09-05 23:46:59 +0300
commit8a9a9295999a67e97b16c3e0ff4b9fdfd8298904 (patch)
tree20593240f159b3b1542899b24ba5a777551bcb0b /indra
parentb31a93baa83dc232e331a0420800fcb6d7faa2d3 (diff)
SL-11848 Fixed login crash (Face with no texture index references indexed texture draw info)
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp
index 912bde9986..1d782cdabe 100644
--- a/indra/newview/llface.cpp
+++ b/indra/newview/llface.cpp
@@ -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;
}