From 43ea730c4a5ed25af5b983d04157e30781cfb376 Mon Sep 17 00:00:00 2001 From: armored-dragon Date: Wed, 2 Apr 2025 21:03:09 -0500 Subject: [PATCH] Added camera clipping setting. --- scripts/system/settings/settings.qml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/scripts/system/settings/settings.qml b/scripts/system/settings/settings.qml index 1cc1c53fef..b52047b22b 100644 --- a/scripts/system/settings/settings.qml +++ b/scripts/system/settings/settings.qml @@ -294,6 +294,16 @@ Rectangle { } } + // Camera clipping + SettingBoolean { + settingText: "Allow camera clipping"; + settingEnabled: !Render.cameraClippingEnabled + + onSettingEnabledChanged: { + Render.cameraClippingEnabled = settingEnabled ? 0 : 1; + } + } + // Anti Aliasing SettingComboBox { settingText: "Anti-aliasing";