[Bf-blender-cvs] [d55dc9a3b18] temp-pbvh-split: temp-pbvh-split: Remove debug printf

Joseph Eagar noreply at git.blender.org
Fri Jun 3 01:16:33 CEST 2022


Commit: d55dc9a3b18bd138521ad8191ccfc06bf9cb0d0f
Author: Joseph Eagar
Date:   Thu Jun 2 16:15:49 2022 -0700
Branches: temp-pbvh-split
https://developer.blender.org/rBd55dc9a3b18bd138521ad8191ccfc06bf9cb0d0f

temp-pbvh-split: Remove debug printf

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

M	source/blender/editors/space_image/image_undo.c

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

diff --git a/source/blender/editors/space_image/image_undo.c b/source/blender/editors/space_image/image_undo.c
index 3ed8002357c..1fd9fde084b 100644
--- a/source/blender/editors/space_image/image_undo.c
+++ b/source/blender/editors/space_image/image_undo.c
@@ -204,10 +204,6 @@ void *ED_image_paint_tile_push(ListBase *paint_tiles,
   ptile->x_tile = x_tile;
   ptile->y_tile = y_tile;
 
-  if (x_tile < 0 || y_tile < 0 || x_tile >= 1000 || y_tile >= 1000) {
-    printf("error!\n");
-  }
-
   /* add mask explicitly here */
   if (r_mask) {
     *r_mask = ptile->mask = MEM_callocN(sizeof(ushort) * square_i(ED_IMAGE_UNDO_TILE_SIZE),



More information about the Bf-blender-cvs mailing list