summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authormaxim_productengine <mnikolenko@productengine.com>2019-02-25 16:28:31 +0200
committermaxim_productengine <mnikolenko@productengine.com>2019-02-25 16:28:31 +0200
commit9bd1e26b0d7015c2da9f5e65e8ab8437c7e3bf57 (patch)
tree1f61867219b1221494288bcb0162efeef51d846d /indra/newview
parent3cb20abfc928868fb6e95eaa78ea05b494d08af3 (diff)
SL-10613 Set default 'Smooth' parameter to None
Diffstat (limited to 'indra/newview')
-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)