[Bf-blender-cvs] [34c2628f324] blender2.8: Eevee: Silence printfs.

Clément Foucault noreply at git.blender.org
Mon Jul 24 16:37:05 CEST 2017


Commit: 34c2628f3246324fdc2cc57fd376e2abf13b2609
Author: Clément Foucault
Date:   Mon Jul 24 16:36:32 2017 +0200
Branches: blender2.8
https://developer.blender.org/rB34c2628f3246324fdc2cc57fd376e2abf13b2609

Eevee: Silence printfs.

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

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 c5b1966f9da..151efefcda1 100644
--- a/source/blender/draw/engines/eevee/eevee_lightprobes.c
+++ b/source/blender/draw/engines/eevee/eevee_lightprobes.c
@@ -1262,10 +1262,10 @@ void EEVEE_lightprobes_refresh(EEVEE_SceneLayerData *sldata, EEVEE_Data *vedata)
 					if (ped->updated_cells >= ped->num_cell) {
 						ped->need_update = false;
 					}
-
+#if 0
 					printf("Updated Grid %d : cell %d / %d, bounce %d / %d\n",
 						i, ped->updated_cells, ped->num_cell, pinfo->updated_bounce + 1, max_bounce);
-
+#endif
 					/* Only do one probe per frame */
 					DRW_viewport_request_redraw();
 					goto update_planar;
@@ -1302,9 +1302,9 @@ void EEVEE_lightprobes_refresh(EEVEE_SceneLayerData *sldata, EEVEE_Data *vedata)
 					pinfo->num_render_cube++;
 					ped->ready_to_shade = true;
 				}
-
+#if 0
 				printf("Update Cubemap %d\n", i);
-
+#endif
 				DRW_viewport_request_redraw();
 
 				/* Only do one probe per frame */




More information about the Bf-blender-cvs mailing list