GP: Remove debug print
authorAntonioya <blendergit@gmail.com>
Wed, 13 Feb 2019 09:00:02 +0000 (10:00 +0100)
committerAntonioya <blendergit@gmail.com>
Wed, 13 Feb 2019 09:00:02 +0000 (10:00 +0100)
source/blender/editors/gpencil/gpencil_paint.c

index 80a1855..4a1bfda 100644 (file)
@@ -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;
                }
        }