summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/newview/llfloatermodelpreview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp
index fdf781ae0b..6365803554 100644
--- a/indra/newview/llfloatermodelpreview.cpp
+++ b/indra/newview/llfloatermodelpreview.cpp
@@ -2080,14 +2080,14 @@ LLModelPreview::LLModelPreview(S32 width, S32 height, LLFloaterModelPreview* fmp
mModelLoader = NULL;
mDirty = false;
- mLODMode[0] = 0;
-
- for (U32 i = 1; i < LLModel::NUM_LODS; i++)
+ for (U32 i = 0; i < LLModel::NUM_LODS; i++)
{
mLODMode[i] = 1;
mLimit[i] = 0;
}
+ mLODMode[0] = 0;
+
mFMP = fmp;
glodInit();