Showing the changes to interface/src/scripting/RenderScriptingInterface.cpp (1 of 117 files). Show all
Unified · Split
| @@ -349,6 +349,13 @@ void RenderScriptingInterface::setVerticalFieldOfView(float fieldOfView) { · 348 unmodified lines | |||
| 349 | } | 349 | } |
| 350 | } | 350 | } |
| 351 | 351 | ||
| 352 | void RenderScriptingInterface::setCameraClippingEnabled(bool enabled) { | ||
| 353 | if (qApp->getCameraClippingEnabled() != enabled) { | ||
| 354 | qApp->setCameraClippingEnabled(enabled); | ||
| 355 | emit settingsChanged(); | ||
| 356 | } | ||
| 357 | } | ||
| 358 | |||
| 352 | QStringList RenderScriptingInterface::getScreens() const { | 359 | QStringList RenderScriptingInterface::getScreens() const { |
| 353 | QStringList screens; | 360 | QStringList screens; |
| 354 | 361 | ||