From c31a849a1474ef1d96805b67ad12c9be2173e003 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Sat, 28 Sep 2019 23:32:51 +0200 Subject: Fix wrong sculpt cursor drawing when using "ignore_background_click" Not all the necessary state got restored. --- source/blender/editors/sculpt_paint/paint_intern.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/sculpt_paint/paint_intern.h') diff --git a/source/blender/editors/sculpt_paint/paint_intern.h b/source/blender/editors/sculpt_paint/paint_intern.h index 8be474880a5..abfa4331952 100644 --- a/source/blender/editors/sculpt_paint/paint_intern.h +++ b/source/blender/editors/sculpt_paint/paint_intern.h @@ -70,7 +70,7 @@ struct PaintStroke *paint_stroke_new(struct bContext *C, StrokeRedraw redraw, StrokeDone done, int event_type); -void paint_stroke_data_free(struct wmOperator *op); +void paint_stroke_free(struct bContext *C, struct wmOperator *op); bool paint_space_stroke_enabled(struct Brush *br, enum ePaintMode mode); bool paint_supports_dynamic_size(struct Brush *br, enum ePaintMode mode); -- cgit v1.2.3