summaryrefslogtreecommitdiffstats
path: root/scene/3d/reflection_probe.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-07-15 18:40:47 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-07-15 18:42:06 -0300
commit741145febd2b4fc2db4b076a339ded88dfa3c5e5 (patch)
tree712399e9f0346e860506f9d704201fac135fd0f4 /scene/3d/reflection_probe.cpp
parent6422b9d150647ddea8685fc1e9fa2e0afe9e273f (diff)
downloadredot-engine-741145febd2b4fc2db4b076a339ded88dfa3c5e5.tar.gz
-Fix for multiple reflection probes causing issues.
-Fix for positional sound corruption to avoid making people deaf.
Diffstat (limited to 'scene/3d/reflection_probe.cpp')
-rw-r--r--scene/3d/reflection_probe.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/reflection_probe.cpp b/scene/3d/reflection_probe.cpp
index 86a62bec97..0dc5b58e45 100644
--- a/scene/3d/reflection_probe.cpp
+++ b/scene/3d/reflection_probe.cpp
@@ -162,7 +162,7 @@ bool ReflectionProbe::are_shadows_enabled() const {
void ReflectionProbe::set_cull_mask(uint32_t p_layers) {
cull_mask = p_layers;
- VS::get_singleton()->reflection_probe_set_enable_shadows(probe, p_layers);
+ VS::get_singleton()->reflection_probe_set_cull_mask(probe, p_layers);
}
uint32_t ReflectionProbe::get_cull_mask() const {