diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-06-19 09:06:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-19 09:06:19 +0200 |
commit | 9388a286a2e684f285bd4b2f15ea2e250efb9f19 (patch) | |
tree | 7d0f38bd42a1d67f8cb2a8dce02d8e6fbabbd6e4 /servers | |
parent | 4366f8bcd455714a5cd29374726d83b674ff0430 (diff) | |
parent | 2651e88b0574719dcef774e0f8841e71cc2d8bcc (diff) |
Merge pull request #62186 from Calinou/scaling-3d-change-in-editor
Automatically update the editor viewport when 3D scaling options are changed
Diffstat (limited to 'servers')
-rw-r--r-- | servers/rendering_server.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/servers/rendering_server.cpp b/servers/rendering_server.cpp index 26ab8b659e..9b407043fc 100644 --- a/servers/rendering_server.cpp +++ b/servers/rendering_server.cpp @@ -2934,10 +2934,10 @@ void RenderingServer::init() { ProjectSettings::get_singleton()->set_custom_property_info("rendering/anti_aliasing/screen_space_roughness_limiter/amount", PropertyInfo(Variant::FLOAT, "rendering/anti_aliasing/screen_space_roughness_limiter/amount", PROPERTY_HINT_RANGE, "0.01,4.0,0.01")); ProjectSettings::get_singleton()->set_custom_property_info("rendering/anti_aliasing/screen_space_roughness_limiter/limit", PropertyInfo(Variant::FLOAT, "rendering/anti_aliasing/screen_space_roughness_limiter/limit", PROPERTY_HINT_RANGE, "0.01,1.0,0.01")); - GLOBAL_DEF_RST("rendering/scaling_3d/mode", 0); - GLOBAL_DEF_RST("rendering/scaling_3d/scale", 1.0); - GLOBAL_DEF_RST("rendering/scaling_3d/fsr_sharpness", 0.2f); - GLOBAL_DEF_RST("rendering/scaling_3d/fsr_mipmap_bias", 0.0f); + GLOBAL_DEF("rendering/scaling_3d/mode", 0); + GLOBAL_DEF("rendering/scaling_3d/scale", 1.0); + GLOBAL_DEF("rendering/scaling_3d/fsr_sharpness", 0.2f); + GLOBAL_DEF("rendering/scaling_3d/fsr_mipmap_bias", 0.0f); ProjectSettings::get_singleton()->set_custom_property_info("rendering/scaling_3d/mode", PropertyInfo(Variant::INT, "rendering/scaling_3d/mode", |