From 9f2271d354b96f19f887c1b0e6f0a569073f2636 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Mon, 18 Jan 2021 12:15:46 +0100 Subject: Fix T84739: Crash with curve brush in sculpt mode. No idea why we did not pass context to `ED_paintcurve_undo_push_end`, it is easily availbale everywhere... --- source/blender/editors/include/ED_paint.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/include') diff --git a/source/blender/editors/include/ED_paint.h b/source/blender/editors/include/ED_paint.h index dec1f6844b2..6a28baa4ca1 100644 --- a/source/blender/editors/include/ED_paint.h +++ b/source/blender/editors/include/ED_paint.h @@ -101,7 +101,7 @@ struct ListBase *ED_image_paint_tile_list_get(void); /* paint_curve_undo.c */ void ED_paintcurve_undo_push_begin(const char *name); -void ED_paintcurve_undo_push_end(void); +void ED_paintcurve_undo_push_end(struct bContext *C); void ED_paintcurve_undosys_type(struct UndoType *ut); -- cgit v1.2.3