diff options
author | Dave Parks <davep@lindenlab.com> | 2010-10-12 15:28:09 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-10-12 15:28:09 -0500 |
commit | 83f7f37d8a1391761fb951c5aff2e93cfbb1f7ff (patch) | |
tree | e0e3cbdb558c5daf4dc9491d0f30c3439c493105 /indra | |
parent | 894971c7b304a23d37fbfccbaaa1d75a93e01456 (diff) |
SH-264 Fix for lowest lod defaulting to a huge number of triangles when choosing "Triangle Limit"
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llfloatermodelpreview.cpp | 6 |
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(); |