From a142a67972f835d914c88a20528bf636630b2691 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20=C4=8C=C3=AD=C5=BE?= Date: Wed, 6 Dec 2017 21:16:30 +0100 Subject: [PATCH] Add default settings for 360 screenshots --- apps/openmw/mwinput/inputmanagerimp.cpp | 2 +- files/settings-default.cfg | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/openmw/mwinput/inputmanagerimp.cpp b/apps/openmw/mwinput/inputmanagerimp.cpp index 5aa98b6de..e01deb669 100644 --- a/apps/openmw/mwinput/inputmanagerimp.cpp +++ b/apps/openmw/mwinput/inputmanagerimp.cpp @@ -1024,7 +1024,7 @@ namespace MWInput try { settingStr = Settings::Manager::getString("screenshot type","Video"); - regularScreenshot = settingStr.size() == 0; + regularScreenshot = settingStr.size() == 0 || settingStr.compare("regular") == 0; } catch (std::runtime_error) { diff --git a/files/settings-default.cfg b/files/settings-default.cfg index aec667a9c..c0f9e85ce 100644 --- a/files/settings-default.cfg +++ b/files/settings-default.cfg @@ -359,6 +359,10 @@ contrast = 1.0 # Video gamma setting. (>0.0). No effect in Linux. gamma = 1.0 +# Type of screenshot to take (regular, cylindrical, spherical or planet), optionally followed by +# screenshot width, height and cubemap resolution in pixels. (e.g. spherical 1600 1000 1200) +screenshot type = regular + [Water] # Enable water shader with reflections and optionally refraction.