diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2021-05-15 19:34:28 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2021-05-15 19:34:28 +0300 |
commit | a56cc26b4825528a39318a9618ffff1503c8cac8 (patch) | |
tree | 402e59fdb37fc569ee5436e3199490b30f35618b /source/blender/draw/engines/eevee | |
parent | c2ee7ab2e381e6b1369bcb9b7ec430ef5e6c2f8f (diff) | |
parent | 610c0ecc3b91a9d3f08fc83eac26bc75c3dfc92b (diff) |
Merge branch 'blender-v2.93-release'
Diffstat (limited to 'source/blender/draw/engines/eevee')
-rw-r--r-- | source/blender/draw/engines/eevee/eevee_engine.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_engine.c b/source/blender/draw/engines/eevee/eevee_engine.c index 509c002e25a..88fd823bc72 100644 --- a/source/blender/draw/engines/eevee/eevee_engine.c +++ b/source/blender/draw/engines/eevee/eevee_engine.c @@ -556,6 +556,11 @@ static void eevee_render_to_image(void *vedata, EEVEE_renderpasses_output_init( sldata, vedata, g_data->render_sample_count_per_timestep * time_steps_tot); + if (scene->world) { + /* Update world in case of animated world material. */ + eevee_id_world_update(vedata, scene->world); + } + EEVEE_temporal_sampling_create_view(vedata); EEVEE_render_draw(vedata, engine, render_layer, rect); |