diff options
author | Rafał Mikrut <mikrutrafal54@gmail.com> | 2020-04-01 19:29:35 +0200 |
---|---|---|
committer | Rafał Mikrut <mikrutrafal54@gmail.com> | 2020-04-01 19:29:35 +0200 |
commit | 359bebd8c08a626e64ade1ac45c3c925352bd8a4 (patch) | |
tree | 83769dbf9cdb5ca7e6dee2e04b95dfc2c1f587c4 /scene/3d | |
parent | 0168709978154a89f137b44f33647e5d28a46250 (diff) |
Fix out of bound array access caused by unassigned variable
Diffstat (limited to 'scene/3d')
-rw-r--r-- | scene/3d/gi_probe.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/3d/gi_probe.cpp b/scene/3d/gi_probe.cpp index a46cd90612..607b176cdd 100644 --- a/scene/3d/gi_probe.cpp +++ b/scene/3d/gi_probe.cpp @@ -293,6 +293,7 @@ GIProbeData::GIProbeData() { propagation = 0.7; anisotropy_strength = 0.5; interior = false; + use_two_bounces = false; probe = RS::get_singleton()->gi_probe_create(); } |