Fix T59396 Grease pencil brush crash

The problem was the brush was not initializated because some code was missing (marked as ToDo)
This commit is contained in:
Antonioya
2018-12-15 09:54:31 +01:00
parent b73529fafd
commit f9917a8d43
2 changed files with 4 additions and 2 deletions

View File

@@ -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;
}