diff options
Diffstat (limited to 'indra/newview/llfloatermodelpreview.cpp')
-rw-r--r-- | indra/newview/llfloatermodelpreview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp index 652a97162b..258da7b406 100644 --- a/indra/newview/llfloatermodelpreview.cpp +++ b/indra/newview/llfloatermodelpreview.cpp @@ -354,9 +354,9 @@ void LLFloaterModelPreview::setLODMode(S32 lod, S32 mode) { if (lod != LLModel::LOD_PHYSICS) { - for (S32 i = lod; i > 0; i--) + for (S32 i = lod; i >= 0; i--) { - mModelPreview->clearModel(lod); + mModelPreview->clearModel(i); } } else |