Fix T64806 Missing sss_blur pass in EEVEE crashing indirect light bake
authorClément Foucault <foucault.clem@gmail.com>
Tue, 21 May 2019 19:31:58 +0000 (21:31 +0200)
committerClément Foucault <foucault.clem@gmail.com>
Wed, 22 May 2019 11:29:05 +0000 (13:29 +0200)
source/blender/draw/engines/eevee/eevee_lightcache.c

index 264008b..536ecb1 100644 (file)
@@ -747,6 +747,7 @@ static void eevee_lightbake_cache_create(EEVEE_Data *vedata, EEVEE_LightBake *lb
 
   EEVEE_effects_cache_init(sldata, vedata);
   EEVEE_materials_cache_init(sldata, vedata);
+  EEVEE_subsurface_cache_init(sldata, vedata);
   EEVEE_lights_cache_init(sldata, vedata);
   EEVEE_lightprobes_cache_init(sldata, vedata);