Skip to content
Snippets Groups Projects
Commit e9fd322f authored by leyla_linden's avatar leyla_linden
Browse files

SH-820 selectively enable/disable mesh preferences options

parent d51d2942
No related branches found
No related tags found
No related merge requests found
......@@ -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");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment