summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/newview/llfloatermodelpreview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp
index 10a8a1af3b..5ce62d67d8 100644
--- a/indra/newview/llfloatermodelpreview.cpp
+++ b/indra/newview/llfloatermodelpreview.cpp
@@ -4625,8 +4625,6 @@ void LLFloaterModelPreview::resetUploadOptions()
childSetValue("lod_file_" + lod_name[lod], "");
}
- getChild<LLComboBox>("physics_lod_combo")->setCurrentByIndex(0);
-
for(auto& p : mDefaultDecompParams)
{
std::string ctrl_name(p.first);
@@ -4636,6 +4634,8 @@ void LLFloaterModelPreview::resetUploadOptions()
ctrl->setValue(p.second);
}
}
+ getChild<LLComboBox>("physics_lod_combo")->setCurrentByIndex(0);
+ getChild<LLComboBox>("Cosine%")->setCurrentByIndex(0);
}
void LLFloaterModelPreview::onModelPhysicsFeeReceived(const LLSD& result, std::string upload_url)