From d9334f98b9dafb92ebe3d3bd2f669a725cc58a0f Mon Sep 17 00:00:00 2001 From: ziree Date: Sun, 6 Jan 2013 18:27:59 +0100 Subject: [PATCH] Removed old, unused settings and code. --- indra/newview/app_settings/settings.xml | 33 ------------------------- indra/newview/llfloatermodelpreview.cpp | 16 ------------ 2 files changed, 49 deletions(-) diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index 0278537e15..66cb5bd462 100755 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -220,17 +220,6 @@ Value 1 - FSMeshUploadPossible - - Comment - If true, shows dummy (preview) avatars in radar. - Persist - 1 - Type - Boolean - Value - 1 - FSAdvancedTooltips Comment @@ -5721,28 +5710,6 @@ Value 0 - FullScreenAspectRatio - - Comment - Aspect ratio of fullscreen display (width / height) - Persist - 1 - Type - F32 - Value - 3 - - FullScreenAutoDetectAspectRatio - - Comment - Automatically detect proper aspect ratio for fullscreen display - Persist - 1 - Type - Boolean - Value - 0 - GesturesMarketplaceURL Comment diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp index 81fc26e9c3..50587424fc 100644 --- a/indra/newview/llfloatermodelpreview.cpp +++ b/indra/newview/llfloatermodelpreview.cpp @@ -646,14 +646,6 @@ void LLFloaterModelPreview::loadModel(S32 lod, const std::string& file_name, boo void LLFloaterModelPreview::onClickCalculateBtn() { - - if(!gSavedSettings.getBOOL("FSMeshUploadPossible")){ - LLSD args; - args["MESSAGE"] = llformat("Mesh upload and calculation is not supported yet." ); - LLNotificationsUtil::add("GenericAlert", args); - return; - } - mModelPreview->rebuildUploadData(); bool upload_skinweights = childGetValue("upload_skin").asBoolean(); @@ -5731,14 +5723,6 @@ void LLFloaterModelPreview::onReset(void* user_data) //static void LLFloaterModelPreview::onUpload(void* user_data) { - if(!gSavedSettings.getBOOL("FSMeshUploadPossible")){ - LLSD args; - args["MESSAGE"] = llformat("Mesh upload and calculation is not supported yet." ); - LLNotificationsUtil::add("GenericAlert", args); - return; - } - - assert_main_thread(); LLFloaterModelPreview* mp = (LLFloaterModelPreview*) user_data;