You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
no more errors related to missing GlobalConfig::Get (or so I hope)
This commit is contained in:
@@ -1821,10 +1821,10 @@ void SpatialEditorViewport::_notification(int p_what) {
|
||||
|
||||
//update msaa if changed
|
||||
|
||||
int msaa_mode = GlobalConfig::get_singleton()->get("rendering/antialias/msaa");
|
||||
int msaa_mode = GlobalConfig::get_singleton()->get("rendering/quality/msaa");
|
||||
viewport->set_msaa(Viewport::MSAA(msaa_mode));
|
||||
|
||||
bool hdr = GlobalConfig::get_singleton()->get("rendering/dynamic_range/hdr");
|
||||
bool hdr = GlobalConfig::get_singleton()->get("rendering/quality/hdr");
|
||||
viewport->set_hdr(hdr);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user