History

Merge remote-tracking branch 'overte/master' into taa

HifiExperiments committed 1 year ago

Commit 79484c42 parents 8e9fab9 7a59a27117 files · +2914 −1315Browse files

Showing the changes to interface/src/scripting/RenderScriptingInterface.cpp (1 of 117 files). Show all

Unified · Split

interface/src/scripting/RenderScriptingInterface.cpp+7−0
@@ -349,6 +349,13 @@ void RenderScriptingInterface::setVerticalFieldOfView(float fieldOfView) { · 348 unmodified lines
349349 }
350350 }
351351
352+void RenderScriptingInterface::setCameraClippingEnabled(bool enabled) {
353+ if (qApp->getCameraClippingEnabled() != enabled) {
354+ qApp->setCameraClippingEnabled(enabled);
355+ emit settingsChanged();
356+ }
357+}
358+
352359 QStringList RenderScriptingInterface::getScreens() const {
353360 QStringList screens;
354361