Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <bastien@blender.org>2021-01-18 14:15:46 +0300
committerBastien Montagne <bastien@blender.org>2021-01-18 14:15:46 +0300
commit9f2271d354b96f19f887c1b0e6f0a569073f2636 (patch)
treee66b47ec31c988bc3b53bb7d47bf90f41e3864c4 /source/blender/editors/include/ED_paint.h
parentc85317e66940fd3c00fa840b1987e704015ebee2 (diff)
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...
Diffstat (limited to 'source/blender/editors/include/ED_paint.h')
-rw-r--r--source/blender/editors/include/ED_paint.h2
1 files changed, 1 insertions, 1 deletions
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);