1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-24 15:26:15 +00:00

-Fix for multiple reflection probes causing issues.

-Fix for positional sound corruption to avoid making people deaf.
This commit is contained in:
Juan Linietsky
2017-07-15 18:40:47 -03:00
parent 6422b9d150
commit 741145febd
8 changed files with 74 additions and 32 deletions

View File

@@ -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;