[Bf-blender-cvs] [58c92f9f0d6] blender2.8: Fix light probe callbacks

Campbell Barton noreply at git.blender.org
Tue Jan 30 03:14:11 CET 2018


Commit: 58c92f9f0d6c1b22ac90c5e7b242170e1471f01b
Author: Campbell Barton
Date:   Tue Jan 30 13:14:17 2018 +1100
Branches: blender2.8
https://developer.blender.org/rB58c92f9f0d6c1b22ac90c5e7b242170e1471f01b

Fix light probe callbacks

Even though this wasn't crashing here, the arg types were wrong.

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

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

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

diff --git a/source/blender/draw/engines/eevee/eevee_data.c b/source/blender/draw/engines/eevee/eevee_data.c
index c6e5f645f10..449668d8590 100644
--- a/source/blender/draw/engines/eevee/eevee_data.c
+++ b/source/blender/draw/engines/eevee/eevee_data.c
@@ -143,8 +143,8 @@ EEVEE_LightProbeEngineData *EEVEE_lightprobe_data_ensure(Object *ob)
 	        ob,
 	        &draw_engine_eevee_type,
 	        sizeof(EEVEE_LightProbeEngineData),
-	        &eevee_lightprobe_data_init,
-	        &eevee_lightprobe_data_free);
+	        eevee_lightprobe_data_init,
+	        eevee_lightprobe_data_free);
 }
 
 /* Lamp data. */



More information about the Bf-blender-cvs mailing list