mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 14:33:31 +02:00
Setup various debug options.
This commit is contained in:
parent
17a5e6a700
commit
93eac0c0dc
1 changed files with 20 additions and 0 deletions
|
@ -2363,6 +2363,14 @@ void Application::saveSettings()
|
|||
|
||||
setSettingBool("_viewFrustumFromOffset", _viewFrustumFromOffset->isChecked());
|
||||
|
||||
setSettingBool("wantsViewDeltaSending", _myAvatar.getWantDelta());
|
||||
|
||||
setSettingBool("wantsResIn", _myAvatar.getWantResIn());
|
||||
|
||||
setSettingBool("wantsMonochrome", _myAvatar.getWantColor());
|
||||
|
||||
setSettingBool("renderPipelineWarnings", _voxels.getRenderPipelineWarnings());
|
||||
|
||||
closeSettingsFile();
|
||||
}
|
||||
|
||||
|
@ -2417,6 +2425,18 @@ void Application::readSettings()
|
|||
getSettingBool("_viewFrustumFromOffset", settingState, _viewFrustumFromOffset->isChecked());
|
||||
_viewFrustumFromOffset->setChecked(settingState);
|
||||
|
||||
getSettingBool("wantsResIn", settingState, false);
|
||||
setWantsResIn(settingState);
|
||||
|
||||
getSettingBool("wantsMonochrome", settingState, false);
|
||||
setWantsMonochrome(settingState);
|
||||
|
||||
getSettingBool("renderPipelineWarnings", settingState, false);
|
||||
setRenderWarnings(settingState);
|
||||
|
||||
getSettingBool("wantsViewDeltaSending", settingState, false);
|
||||
setWantsDelta(settingState);
|
||||
|
||||
closeSettingsFile();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue