Showing the changes to interface/src/scripting/RenderScriptingInterface.cpp (1 of 3 files). Show all
Unified · Split
| @@ -223,6 +223,13 @@ void RenderScriptingInterface::setViewportResolutionScale(float scale) { · 222 unmodified lines | |||
| 223 | } | 223 | } |
| 224 | } | 224 | } |
| 225 | 225 | ||
| 226 | void RenderScriptingInterface::setVerticalFieldOfView(float fieldOfView) { | ||
| 227 | if (getViewportResolutionScale() != fieldOfView) { | ||
| 228 | qApp->setFieldOfView(fieldOfView); | ||
| 229 | emit settingsChanged(); | ||
| 230 | } | ||
| 231 | } | ||
| 232 | |||
| 226 | QStringList RenderScriptingInterface::getScreens() const { | 233 | QStringList RenderScriptingInterface::getScreens() const { |
| 227 | QStringList screens; | 234 | QStringList screens; |
| 228 | 235 | ||