diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-03-02 14:15:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-02 14:15:25 +0100 |
commit | 5895cd4c4fe8cf04a7109d52388be46f619b56f1 (patch) | |
tree | f9531cd1b9dd5afab64537a1e5e43d00dce14e56 /scene/resources/environment.cpp | |
parent | 3fc5ae02aa6f50b153a1b5222046915054b88284 (diff) | |
parent | 70304f8633c8cf8faa530dadf648ecfcabf80655 (diff) |
Merge pull request #36202 from YeldhamDev/sprite_region_hide
Hide extra options from various nodes if they're not enabled
Diffstat (limited to 'scene/resources/environment.cpp')
-rw-r--r-- | scene/resources/environment.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/resources/environment.cpp b/scene/resources/environment.cpp index 6f6af93848..c04b271d81 100644 --- a/scene/resources/environment.cpp +++ b/scene/resources/environment.cpp @@ -441,6 +441,7 @@ void Environment::_update_ssao() { void Environment::set_sdfgi_enabled(bool p_enabled) { sdfgi_enabled = p_enabled; _update_sdfgi(); + notify_property_list_changed(); } bool Environment::is_sdfgi_enabled() const { @@ -983,6 +984,7 @@ void Environment::_validate_property(PropertyInfo &property) const { "auto_exposure_", "ss_reflections_", "ssao_", + "sdfgi_", "glow_", "adjustment_", nullptr |