diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-08-30 14:54:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-30 14:54:20 +0200 |
commit | 02d510bd079b0730f14680f75a1325ce1da0ac09 (patch) | |
tree | 814a0e7200eacb586270affcf2f4e3f47f90ad8a /editor/editor_node.cpp | |
parent | ae349d82277e85ca348fd3da2ff4ad7c7033c8e6 (diff) | |
parent | e96b1a2c0c46f575454603631e85daf78081764a (diff) |
Merge pull request #63003 from Geometror/msaa-2d
Diffstat (limited to 'editor/editor_node.cpp')
-rw-r--r-- | editor/editor_node.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 7d4c376709..6b68c4127f 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -544,6 +544,9 @@ void EditorNode::_update_from_settings() { Viewport::SDFScale sdf_scale = Viewport::SDFScale(int(GLOBAL_GET("rendering/2d/sdf/scale"))); scene_root->set_sdf_scale(sdf_scale); + Viewport::MSAA msaa = Viewport::MSAA(int(GLOBAL_GET("rendering/anti_aliasing/quality/msaa_2d"))); + scene_root->set_msaa_2d(msaa); + float mesh_lod_threshold = GLOBAL_GET("rendering/mesh_lod/lod_change/threshold_pixels"); scene_root->set_mesh_lod_threshold(mesh_lod_threshold); |