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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user