summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatermodelpreview.cpp
diff options
context:
space:
mode:
authorTofu Buzzard <no-email>2011-02-24 18:28:14 -0800
committerTofu Buzzard <no-email>2011-02-24 18:28:14 -0800
commit41dc7188ea0b5a1031e82ef8a1b3861107b16216 (patch)
treef0a6b346f9b3aa997081f1e877ebd0a2cea18884 /indra/newview/llfloatermodelpreview.cpp
parent07836b603cb78d3a154ede3cc7e46babab900529 (diff)
parent3ce756e44cca0cf6f9860871789e348647800e45 (diff)
merge
Diffstat (limited to 'indra/newview/llfloatermodelpreview.cpp')
-rwxr-xr-xindra/newview/llfloatermodelpreview.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp
index 42c93a91a5..ef7d1425c7 100755
--- a/indra/newview/llfloatermodelpreview.cpp
+++ b/indra/newview/llfloatermodelpreview.cpp
@@ -4085,6 +4085,10 @@ void LLModelPreview::setPreviewLOD(S32 lod)
mFMP->childSetTextArg("lod_table_footer", "[DETAIL]", mFMP->getString(lod_name[mPreviewLOD]));
mFMP->childSetText("lod_file", mLODFile[mPreviewLOD]);
+ // the wizard has two lod drop downs
+ LLComboBox* combo_box2 = mFMP->getChild<LLComboBox>("preview_lod_combo2");
+ combo_box2->setCurrentByIndex((NUM_LOD-1)-mPreviewLOD); // combo box list of lods is in reverse order
+
LLColor4 highlight_color = LLUIColorTable::instance().getColor("MeshImportTableHighlightColor");
LLColor4 normal_color = LLUIColorTable::instance().getColor("MeshImportTableNormalColor");