diff options
author | Antonioya <blendergit@gmail.com> | 2018-12-15 11:54:31 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-12-15 11:54:31 +0300 |
commit | f9917a8d431f5480d9a5d58dfcf84863911f3bf2 (patch) | |
tree | 38e8c4dd84d00d2ccbe904c0446c265f79c772e4 /source/blender/editors | |
parent | b73529fafd63d4d8326001482f44e7eb578a5f77 (diff) |
Fix T59396 Grease pencil brush crash
The problem was the brush was not initializated because some code was missing (marked as ToDo)
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_ops.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_ops.c b/source/blender/editors/sculpt_paint/paint_ops.c index ed40a22bd78..80911cf202f 100644 --- a/source/blender/editors/sculpt_paint/paint_ops.c +++ b/source/blender/editors/sculpt_paint/paint_ops.c @@ -124,7 +124,8 @@ static int brush_add_gpencil_exec(bContext *C, wmOperator *UNUSED(op)) BKE_paint_brush_set(paint, br); - /* TODO init grease pencil specific data */ + /* init grease pencil specific data */ + BKE_brush_init_gpencil_settings(br); return OPERATOR_FINISHED; } |