Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2017-09-13 20:31:48 +0300
committerClément Foucault <foucault.clem@gmail.com>2017-09-13 20:31:48 +0300
commit2d261685a95c1e629d9333bd8e8aac2a9d921866 (patch)
tree203134486df9e2dea20fb53b11142823cabf0cdb /source
parent1fca11d5cb598f6670e00824e3e0890a296e73f8 (diff)
Eevee: Fix T52357 : SSRefraction broken after adding probe
I forgot the reset the toggle after rendering the probes...
Diffstat (limited to 'source')
-rw-r--r--source/blender/draw/engines/eevee/eevee_lightprobes.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_lightprobes.c b/source/blender/draw/engines/eevee/eevee_lightprobes.c
index e412d8c79cd..eee4a392c69 100644
--- a/source/blender/draw/engines/eevee/eevee_lightprobes.c
+++ b/source/blender/draw/engines/eevee/eevee_lightprobes.c
@@ -1044,6 +1044,7 @@ static void render_scene_to_probe(
/* Restore */
sldata->probes->specular_toggle = true;
+ sldata->probes->ssr_toggle = true;
txl->planar_pool = tmp_planar_pool;
stl->g_data->minzbuffer = tmp_minz;
txl->maxzbuffer = tmp_maxz;