Fix compile error.

Looks like code duplication that was never fixed because
nobody ever compiles with asserts turned on (ouch).
meow-7.2.2
Aleric Inglewood 2023-08-24 16:18:02 +02:00
parent 94629c4799
commit a24ba60d4c
1 changed files with 1 additions and 1 deletions

View File

@ -2523,7 +2523,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, true); // <FS:Beq/> if you don't flash the log tab on error when do you?
assert(lod >= -1 && lod < LLModel::NUM_LODS);
assert(which_lod >= -1 && which_lod < LLModel::NUM_LODS);
return;
}