SL-16627 show auto-adjustment warning when for Shadows quality and Water reflection settings
parent
d922d2ba7d
commit
e5e710a1e6
|
|
@ -123,6 +123,7 @@ BOOL LLFloaterPerformance::postBuild()
|
|||
mSettingsPanel->getChild<LLRadioGroup>("graphics_quality")->setCommitCallback(boost::bind(&LLFloaterPerformance::onChangeQuality, this, _2));
|
||||
mSettingsPanel->getChild<LLCheckBoxCtrl>("advanced_lighting_model")->setMouseDownCallback(boost::bind(&LLFloaterPerformance::onClickAdvancedLighting, this));
|
||||
mSettingsPanel->getChild<LLComboBox>("ShadowDetail")->setMouseDownCallback(boost::bind(&LLFloaterPerformance::onClickShadows, this));
|
||||
mSettingsPanel->getChild<LLComboBox>("Reflections")->setMouseDownCallback(boost::bind(&LLFloaterPreference::showAutoAdjustWarning));
|
||||
|
||||
mNearbyPanel->getChild<LLButton>("exceptions_btn")->setCommitCallback(boost::bind(&LLFloaterPerformance::onClickExceptions, this));
|
||||
mNearbyPanel->getChild<LLCheckBoxCtrl>("hide_avatars")->setCommitCallback(boost::bind(&LLFloaterPerformance::onClickHideAvatars, this));
|
||||
|
|
|
|||
|
|
@ -81,6 +81,9 @@ BOOL LLFloaterPreferenceGraphicsAdvanced::postBuild()
|
|||
|
||||
mComplexityChangedSignal = gSavedSettings.getControl("RenderAvatarMaxComplexity")->getCommitSignal()->connect(boost::bind(&LLFloaterPreferenceGraphicsAdvanced::updateComplexityText, this));
|
||||
|
||||
getChild<LLComboBox>("ShadowDetail")->setMouseDownCallback(boost::bind(&LLFloaterPreference::showAutoAdjustWarning));
|
||||
getChild<LLComboBox>("Reflections")->setMouseDownCallback(boost::bind(&LLFloaterPreference::showAutoAdjustWarning));
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -697,8 +697,6 @@
|
|||
top_delta="0"
|
||||
name="Reflections"
|
||||
width="150">
|
||||
<combo_box.mouse_down_callback
|
||||
function="Pref.AutoAdjustWarning" />
|
||||
<combo_box.item
|
||||
label="None; opaque"
|
||||
name="0"
|
||||
|
|
@ -857,8 +855,6 @@
|
|||
top_delta="0"
|
||||
name="ShadowDetail"
|
||||
width="150">
|
||||
<combo_box.mouse_down_callback
|
||||
function="Pref.AutoAdjustWarning" />
|
||||
<combo_box.item
|
||||
label="None"
|
||||
name="0"
|
||||
|
|
|
|||
|
|
@ -1864,7 +1864,7 @@ Graphics Quality can be raised in Preferences > Graphics.
|
|||
icon="alertmodal.tga"
|
||||
name="AutoFPSConfirmDisable"
|
||||
type="alertmodal">
|
||||
Changing this setting will disable automatic adjustment and turn off 'Auto FPS' setting.
|
||||
Changing this setting will disable automatic adjustment and turn off 'Automatic settings'.
|
||||
Are you sure you want to continue?
|
||||
<tag>confirm</tag>
|
||||
<usetemplate
|
||||
|
|
|
|||
Loading…
Reference in New Issue