From 8a9a9295999a67e97b16c3e0ff4b9fdfd8298904 Mon Sep 17 00:00:00 2001 From: AndreyL ProductEngine Date: Thu, 5 Sep 2019 23:46:59 +0300 Subject: SL-11848 Fixed login crash (Face with no texture index references indexed texture draw info) --- indra/newview/llface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3