[Bf-blender-cvs] [f54c3e35006] master: GP: Remove debug print

Antonioya noreply at git.blender.org
Wed Feb 13 10:07:55 CET 2019


Commit: f54c3e35006de9e726f70d722719e540e284ce7c
Author: Antonioya
Date:   Wed Feb 13 10:00:02 2019 +0100
Branches: master
https://developer.blender.org/rBf54c3e35006de9e726f70d722719e540e284ce7c

GP: Remove debug print

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

M	source/blender/editors/gpencil/gpencil_paint.c

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

diff --git a/source/blender/editors/gpencil/gpencil_paint.c b/source/blender/editors/gpencil/gpencil_paint.c
index 80a1855ccd8..4a1bfda2dfc 100644
--- a/source/blender/editors/gpencil/gpencil_paint.c
+++ b/source/blender/editors/gpencil/gpencil_paint.c
@@ -2137,8 +2137,6 @@ static void gp_paint_initstroke(tGPsdata *p, eGPencil_PaintModes paintmode, Deps
 
 		if (has_layer_to_erase == false) {
 			p->status = GP_STATUS_ERROR;
-			//if (G.debug & G_DEBUG)
-			printf("Error: Eraser will not be affecting anything (gpencil_paint_init)\n");
 			return;
 		}
 	}



More information about the Bf-blender-cvs mailing list