1
0
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:
Juan Linietsky
2017-01-14 21:56:22 -03:00
parent a1d07fd6d6
commit 5dde810aa5
8 changed files with 32 additions and 26 deletions

View File

@@ -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);