summaryrefslogtreecommitdiff
path: root/scene/resources/environment.cpp
diff options
context:
space:
mode:
authorNoshyaar <poommetee@protonmail.com>2018-01-04 13:22:09 +0700
committerGitHub <noreply@github.com>2018-01-04 13:22:09 +0700
commitdbefa06d79237e3a0241d169eaf05fc98c89101a (patch)
tree424ea3f7d04d415bdaee86e4cfaf8be0bfb89e1d /scene/resources/environment.cpp
parent914f51031c54a36891418451ffe9a0490d2ab561 (diff)
parentf066991aa7bdf8c5e06f2255ea1df96e5daeac9f (diff)
Merge pull request #15229 from firefly2442/cppcheck
Minor cppcheck fixes
Diffstat (limited to 'scene/resources/environment.cpp')
-rw-r--r--scene/resources/environment.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/environment.cpp b/scene/resources/environment.cpp
index 6216893667..b2c91f90eb 100644
--- a/scene/resources/environment.cpp
+++ b/scene/resources/environment.cpp
@@ -1218,7 +1218,7 @@ Environment::Environment() {
ssao_radius2 = 0;
ssao_intensity2 = 1;
ssao_bias = 0.01;
- ssao_direct_light_affect = false;
+ ssao_direct_light_affect = 0.0;
ssao_blur = SSAO_BLUR_3x3;
set_ssao_edge_sharpness(4);
set_ssao_quality(SSAO_QUALITY_LOW);