diff options
author | Merov Linden <merov@lindenlab.com> | 2014-01-31 12:08:23 -0800 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2014-01-31 12:08:23 -0800 |
commit | 009449126a350f60dd90da9879247ceacb99936f (patch) | |
tree | 9200967a3287207ff64f4e592b20e00b91169b28 /indra/newview/llfloatersnapshot.cpp | |
parent | 8f9e58428a14b39c35c32c901ea60f8c6cbe4627 (diff) |
ACME-1296 : Remove Filters from Advanced Snapshot panel
Diffstat (limited to 'indra/newview/llfloatersnapshot.cpp')
-rwxr-xr-x | indra/newview/llfloatersnapshot.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/indra/newview/llfloatersnapshot.cpp b/indra/newview/llfloatersnapshot.cpp index 1a569e41cd..1d52ac5a69 100755 --- a/indra/newview/llfloatersnapshot.cpp +++ b/indra/newview/llfloatersnapshot.cpp @@ -479,8 +479,8 @@ void LLFloaterSnapshot::Impl::updateControls(LLFloaterSnapshot* floater) previewp->setSnapshotFormat(shot_format); previewp->setSnapshotBufferType(layer_type); // Filters - const std::string& filter_name = floater->getChild<LLComboBox>("filters_combobox")->getSimple(); - previewp->setFilter(filter_name); + //const std::string& filter_name = floater->getChild<LLComboBox>("filters_combobox")->getSimple(); + //previewp->setFilter(filter_name); } LLPanelSnapshot* current_panel = Impl::getActivePanel(floater); @@ -1079,13 +1079,13 @@ BOOL LLFloaterSnapshot::postBuild() childSetCommitCallback("auto_snapshot_check", Impl::onClickAutoSnap, this); // Update filter list - std::vector<std::string> filter_list = LLImageFiltersManager::getInstance()->getFiltersList(); - LLComboBox* filterbox = getChild<LLComboBox>("filters_combobox"); - for (U32 i = 0; i < filter_list.size(); i++) - { - filterbox->add(filter_list[i]); - } - childSetCommitCallback("filters_combobox", Impl::onClickFilter, this); + //std::vector<std::string> filter_list = LLImageFiltersManager::getInstance()->getFiltersList(); + //LLComboBox* filterbox = getChild<LLComboBox>("filters_combobox"); + //for (U32 i = 0; i < filter_list.size(); i++) + //{ + // filterbox->add(filter_list[i]); + //} + //childSetCommitCallback("filters_combobox", Impl::onClickFilter, this); LLWebProfile::setImageUploadResultCallback(boost::bind(&LLFloaterSnapshot::Impl::onSnapshotUploadFinished, _1)); |