Move field of view setting to Camera section

openmw-38
scrawl 9 years ago
parent 136a425cec
commit 9621b66b78

@ -207,7 +207,7 @@ namespace MWRender
mNearClip = Settings::Manager::getFloat("near clip", "Camera");
mViewDistance = Settings::Manager::getFloat("viewing distance", "Camera");
mFieldOfView = Settings::Manager::getFloat("field of view", "General");
mFieldOfView = Settings::Manager::getFloat("field of view", "Camera");
updateProjectionMatrix();
mStateUpdater->setFogEnd(mViewDistance);
@ -813,9 +813,9 @@ namespace MWRender
{
for (Settings::CategorySettingVector::const_iterator it = changed.begin(); it != changed.end(); ++it)
{
if (it->first == "General" && it->second == "field of view")
if (it->first == "Camera" && it->second == "field of view")
{
mFieldOfView = Settings::Manager::getFloat("field of view", "General");
mFieldOfView = Settings::Manager::getFloat("field of view", "Camera");
updateProjectionMatrix();
}
else if (it->first == "Camera" && it->second == "viewing distance")

@ -280,7 +280,7 @@
<Property key="Range" value="10000"/>
<Property key="Page" value="300"/>
<UserString key="SettingType" value="Slider"/>
<UserString key="SettingCategory" value="General"/>
<UserString key="SettingCategory" value="Camera"/>
<UserString key="SettingName" value="field of view"/>
<UserString key="SettingValueType" value="Float"/>
<UserString key="SettingMin" value="30"/>

@ -23,6 +23,9 @@ small feature culling = true
# can dramatically affect performance, see documentation for details.
viewing distance = 6666.0
# Camera field of view in degrees (e.g. 30.0 to 110.0).
field of view = 55.0
[Cells]
# Adjacent exterior cells loaded (>0). Caution: this setting can
@ -99,9 +102,6 @@ show effect duration = false
# Anisotropy reduces distortion in textures at low angles (e.g. 0 to 16).
anisotropy = 4
# Camera field of view in degrees (e.g. 30.0 to 110.0).
field of view = 55.0
# File format for screenshots. (jpg, png, tga, and possibly more).
screenshot format = png

Loading…
Cancel
Save