summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llfloaterpreference.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llfloaterpreference.cpp b/indra/newview/llfloaterpreference.cpp
index 456005f1fe..952643326a 100644
--- a/indra/newview/llfloaterpreference.cpp
+++ b/indra/newview/llfloaterpreference.cpp
@@ -656,6 +656,13 @@ void LLFloaterPreference::onOpen(const LLSD& key)
getChildView("maturity_desired_combobox")->setVisible( false);
}
+ bool enable_mesh = gSavedSettings.getBOOL("MeshEnabled");
+
+ getChildView("UseLightShaders")->setVisible(enable_mesh);
+ getChildView("UseSSAO")->setVisible(enable_mesh);
+ getChildView("shadows_label")->setVisible(enable_mesh);
+ getChildView("ShadowDetail")->setVisible(enable_mesh);
+
if (LLStartUp::getStartupState() == STATE_STARTED)
{
mFavoritesRecordMayExist = gSavedPerAccountSettings.getBOOL("ShowFavoritesOnLogin");