[Bf-blender-cvs] [838a34324ac] master: GP: Fix compiler error

Antonioya noreply at git.blender.org
Sun Feb 3 19:57:07 CET 2019


Commit: 838a34324ac35ff7ffb722eca01814dcd5199599
Author: Antonioya
Date:   Sun Feb 3 19:56:57 2019 +0100
Branches: master
https://developer.blender.org/rB838a34324ac35ff7ffb722eca01814dcd5199599

GP: Fix compiler error

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

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 b24f6f445b9..7ef6afca1ab 100644
--- a/source/blender/editors/gpencil/gpencil_paint.c
+++ b/source/blender/editors/gpencil/gpencil_paint.c
@@ -1766,7 +1766,7 @@ static Brush *gp_get_default_eraser(Main *bmain, ToolSettings *ts)
 }
 
 /* helper to set default eraser and disable others */
-static Brush *gp_set_default_eraser(Main *bmain, Brush *brush_dft)
+static void gp_set_default_eraser(Main *bmain, Brush *brush_dft)
 {
 	if (brush_dft == NULL) {
 		return;



More information about the Bf-blender-cvs mailing list