summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-03-27 16:10:31 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-03-27 16:11:22 +0200
commit33633361a37c4b25589e8a4ec34c733a206a8301 (patch)
treedf6d0dec88a853ea12a4bb5f4dbb4d03caf3b2e1
parentfd2e544d558976aac3b452fabfb4c13aeb16aaf0 (diff)
Revert SL-11848 in scope of SL-12824
This reverts commit 8a9a9295999a67e97b16c3e0ff4b9fdfd8298904.
-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 5539cfb5df..90929249c0 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.size() <= 1)
+ if (mDrawInfo && !mDrawInfo->mTextureList.empty())
{
LL_ERRS() << "Face with no texture index references indexed texture draw info." << LL_ENDL;
}