From 68f6e466bf1e2ad5f91ddc66d1b63c551548f341 Mon Sep 17 00:00:00 2001 From: Karol Suprynowicz Date: Sun, 15 Oct 2023 20:21:47 +0200 Subject: [PATCH] Default to higher LOD framerate target on High graphics setting --- interface/src/PerformanceManager.cpp | 2 +- interface/src/scripting/PerformanceScriptingInterface.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/src/PerformanceManager.cpp b/interface/src/PerformanceManager.cpp index f74cfab88a..560d11e4e7 100644 --- a/interface/src/PerformanceManager.cpp +++ b/interface/src/PerformanceManager.cpp @@ -99,7 +99,7 @@ void PerformanceManager::applyPerformancePreset(PerformanceManager::PerformanceP RenderScriptingInterface::getInstance()->setShadowsEnabled(true); qApp->getRefreshRateManager().setRefreshRateProfile(RefreshRateManager::RefreshRateProfile::REALTIME); - DependencyManager::get()->setWorldDetailQuality(WORLD_DETAIL_HIGH); + DependencyManager::get()->setWorldDetailQuality(WORLD_DETAIL_MEDIUM); break; case PerformancePreset::MID: diff --git a/interface/src/scripting/PerformanceScriptingInterface.h b/interface/src/scripting/PerformanceScriptingInterface.h index 249706a5ea..6a06986aaf 100644 --- a/interface/src/scripting/PerformanceScriptingInterface.h +++ b/interface/src/scripting/PerformanceScriptingInterface.h @@ -99,7 +99,7 @@ public slots: /*@jsdoc * Sets graphics performance to a preset. * @function Performance.setPerformancePreset - * @param {Performance.PerformancePreset} performancePreset - The graphics performance preset to to use. + * @param {Performance.PerformancePreset} performancePreset - The graphics performance preset to use. */ void setPerformancePreset(PerformancePreset performancePreset);