summaryrefslogtreecommitdiff
path: root/indra/newview/llmodelpreview.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2024-05-21 21:12:41 +0300
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2024-05-22 11:10:17 +0300
commit741b79d63b97bb5e43f758fd93854317f0bdc65f (patch)
tree1f7612238df8cae9c11e5f0ac71c9b894cc4861a /indra/newview/llmodelpreview.cpp
parente8de17d6a6f3d9aae124fc75040af2861c311df9 (diff)
viewer#1529 Mesh Uploader should permit lowering material count
Diffstat (limited to 'indra/newview/llmodelpreview.cpp')
-rw-r--r--indra/newview/llmodelpreview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llmodelpreview.cpp b/indra/newview/llmodelpreview.cpp
index 736971276e..ac41558721 100644
--- a/indra/newview/llmodelpreview.cpp
+++ b/indra/newview/llmodelpreview.cpp
@@ -2285,7 +2285,7 @@ void LLModelPreview::updateStatusMessages()
if (lod != lod_high)
{
- if (total_submeshes[lod] && total_submeshes[lod] != total_submeshes[lod_high])
+ if (total_submeshes[lod] && total_submeshes[lod] > total_submeshes[lod_high])
{ //number of submeshes is different
message = "mesh_status_submesh_mismatch";
upload_status[lod] = 2;