mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-06 07:11:10 +00:00
cut the GPU load of moving the mouse over the 3D viewport (#15674)
Co-authored-by: Rodrigo Faselli <162915171+RF47@users.noreply.github.com>
This commit is contained in:
co-authored by
Rodrigo Faselli
parent
e0410db22e
commit
213c6569ab
@@ -283,6 +283,12 @@ void AppConfig::set_defaults()
|
||||
set(SETTING_OPENGL_FPS_CAP, std::to_string(fps_cap));
|
||||
}
|
||||
|
||||
if (get(SETTING_OPENGL_SCENE_CACHE).empty())
|
||||
set_bool(SETTING_OPENGL_SCENE_CACHE, true);
|
||||
|
||||
if (get(SETTING_OPENGL_SKIP_IDENTICAL_FRAMES).empty())
|
||||
set_bool(SETTING_OPENGL_SKIP_IDENTICAL_FRAMES, true);
|
||||
|
||||
// The getter already defaults, parses and clamps; write back what it resolves to.
|
||||
set(SETTING_PLUGIN_PAGES_VISIBLE_COUNT, std::to_string(get_plugin_pages_visible_count()));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user