summaryrefslogtreecommitdiff
path: root/servers/visual
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 /servers/visual
parent6422b9d150647ddea8685fc1e9fa2e0afe9e273f (diff)
-Fix for multiple reflection probes causing issues.
-Fix for positional sound corruption to avoid making people deaf.
Diffstat (limited to 'servers/visual')
-rw-r--r--servers/visual/visual_server_scene.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/visual/visual_server_scene.cpp b/servers/visual/visual_server_scene.cpp
index 5009d76d43..13d1c7faa9 100644
--- a/servers/visual/visual_server_scene.cpp
+++ b/servers/visual/visual_server_scene.cpp
@@ -1849,7 +1849,7 @@ void VisualServerScene::_render_scene(const Transform p_cam_transform, const Cam
if (reflection_probe->reflection_dirty || VSG::scene_render->reflection_probe_instance_needs_redraw(reflection_probe->instance)) {
if (!reflection_probe->update_list.in_list()) {
reflection_probe->render_step = 0;
- reflection_probe_render_list.add(&reflection_probe->update_list);
+ reflection_probe_render_list.add_last(&reflection_probe->update_list);
}
reflection_probe->reflection_dirty = false;