[Bf-blender-cvs] [2d261685a95] blender2.8: Eevee: Fix T52357 : SSRefraction broken after adding probe

Clément Foucault noreply at git.blender.org
Wed Sep 13 19:41:12 CEST 2017


Commit: 2d261685a95c1e629d9333bd8e8aac2a9d921866
Author: Clément Foucault
Date:   Wed Sep 13 19:31:48 2017 +0200
Branches: blender2.8
https://developer.blender.org/rB2d261685a95c1e629d9333bd8e8aac2a9d921866

Eevee: Fix T52357 : SSRefraction broken after adding probe

I forgot the reset the toggle after rendering the probes...

===================================================================

M	source/blender/draw/engines/eevee/eevee_lightprobes.c

===================================================================

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;



More information about the Bf-blender-cvs mailing list