diff options
author | Erik Kundiman <erik@megapahit.org> | 2023-07-12 19:56:06 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2023-07-19 15:10:23 +0800 |
commit | 7b80e038829bb5055f20020b7960ce332af28116 (patch) | |
tree | 3edf8b32079ac3da105096c2544c8ff11816e725 | |
parent | 1ada8b037676e39f7664dc8339f2828949b05aa0 (diff) |
Fix lod variable name (supposed to be which_lod?)
-rw-r--r-- | indra/newview/llmodelpreview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llmodelpreview.cpp b/indra/newview/llmodelpreview.cpp index e1a5b22490..6c7d51af9a 100644 --- a/indra/newview/llmodelpreview.cpp +++ b/indra/newview/llmodelpreview.cpp @@ -1715,7 +1715,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); + assert(which_lod >= -1 && which_lod < LLModel::NUM_LODS); return; } |