From 00a6adec211b5a568ac1cbe6ff7e35458da63bfc Mon Sep 17 00:00:00 2001 From: "Brad Payne (Vir Linden)" Date: Fri, 21 Oct 2016 16:24:25 -0400 Subject: MAINT-6841 - more removal of the include enhanced skeleton toggle --- indra/newview/llfloaterpreference.cpp | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'indra/newview/llfloaterpreference.cpp') diff --git a/indra/newview/llfloaterpreference.cpp b/indra/newview/llfloaterpreference.cpp index 8429be2f49..853224b504 100644 --- a/indra/newview/llfloaterpreference.cpp +++ b/indra/newview/llfloaterpreference.cpp @@ -364,7 +364,6 @@ LLFloaterPreference::LLFloaterPreference(const LLSD& key) mCommitCallbackRegistrar.add("Pref.AvatarImpostorsEnable", boost::bind(&LLFloaterPreference::onAvatarImpostorsEnable, this)); mCommitCallbackRegistrar.add("Pref.UpdateIndirectMaxComplexity", boost::bind(&LLFloaterPreference::updateMaxComplexity, this)); mCommitCallbackRegistrar.add("Pref.VertexShaderEnable", boost::bind(&LLFloaterPreference::onVertexShaderEnable, this)); - mCommitCallbackRegistrar.add("Pref.EnhancedSkeletonEnable", boost::bind(&LLFloaterPreference::onEnhancedSkeletonEnable, this, _1)); mCommitCallbackRegistrar.add("Pref.WindowedMod", boost::bind(&LLFloaterPreference::onCommitWindowedMode, this)); mCommitCallbackRegistrar.add("Pref.UpdateSliderText", boost::bind(&LLFloaterPreference::refreshUI,this)); mCommitCallbackRegistrar.add("Pref.QualityPerformance", boost::bind(&LLFloaterPreference::onChangeQuality, this, _2)); @@ -808,16 +807,6 @@ void LLFloaterPreference::onAvatarImpostorsEnable() refreshEnabledGraphics(); } -void LLFloaterPreference::onEnhancedSkeletonEnable(LLUICtrl *ctrl) -{ - bool enabled = ctrl->getValue().asBoolean(); - bool curr_enabled = gSavedSettings.getBOOL("IncludeEnhancedSkeleton"); - if (enabled != curr_enabled) - { - gSavedSettings.setBOOL("IncludeEnhancedSkeleton",enabled); - } -} - //static void LLFloaterPreference::initDoNotDisturbResponse() { @@ -1261,10 +1250,6 @@ void LLFloaterPreferenceGraphicsAdvanced::refreshEnabledState() LLCheckBoxCtrl* bumpshiny_ctrl = getChild("BumpShiny"); bool bumpshiny = gGLManager.mHasCubeMap && LLCubeMap::sUseCubeMaps && LLFeatureManager::getInstance()->isFeatureAvailable("RenderObjectBump"); bumpshiny_ctrl->setEnabled(bumpshiny ? TRUE : FALSE); - - LLCheckBoxCtrl* ctrl_enhanced_skel = getChild("AvatarEnhancedSkeleton"); - bool enhanced_skel_enabled = gSavedSettings.getBOOL("IncludeEnhancedSkeleton"); - ctrl_enhanced_skel->setValue(enhanced_skel_enabled); // Avatar Mode // Enable Avatar Shaders -- cgit v1.2.3