summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorBrad Linden <brad@lindenlab.com>2023-05-23 17:36:20 -0700
committerBrad Linden <brad@lindenlab.com>2023-05-23 17:36:56 -0700
commitdf35005a9b8796d3afcb5cb1d6a75d997a137a11 (patch)
tree628a3792de90fddf721e0370661949c9c5dd8714 /indra
parent46e04fe273ce88c52c08a6417a01ec89bd4e89e9 (diff)
Minor build fix for DRTVWR-559
Diffstat (limited to 'indra')
-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 5f910d95c2..b98855a51f 100644
--- a/indra/newview/llmodelpreview.cpp
+++ b/indra/newview/llmodelpreview.cpp
@@ -1739,7 +1739,7 @@ void LLModelPreview::genMeshOptimizerLODs(S32 which_lod, S32 meshopt_mode, U32 d
out << "Invalid level of detail: " << which_lod;
LL_WARNS() << out.str() << LL_ENDL;
LLFloaterModelPreview::addStringToLog(out, false);
- assert(lod >= -1 && lod < LLModel::NUM_LODS);
+ llassert(which_lod >= -1 && which_lod < LLModel::NUM_LODS);
return;
}