summaryrefslogtreecommitdiff
path: root/indra/newview/llface.cpp
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2020-02-06 21:31:34 +0200
committerAndrey Lihatskiy <alihatskiy@productengine.com>2020-02-06 21:31:34 +0200
commitfa39ff67f081e2e957d2ba7fd9f014747ff10963 (patch)
treedc67779842f2a670e5c242c07e24d27ec701f8d5 /indra/newview/llface.cpp
parent2076f4af0fc946c3bd79754a1deefc495ee7edb9 (diff)
parent9a3f1f6a3c4506ae08c7af7f92f11da40d80ef00 (diff)
Merge branch 'master' into DRTVWR-497
Diffstat (limited to 'indra/newview/llface.cpp')
-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 0266c70857..59fadfe691 100644
--- a/indra/newview/llface.cpp
+++ b/indra/newview/llface.cpp
@@ -456,7 +456,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;
}