mask now draws in the image view, misc minor edits.
[blender.git] / source / blender / editors / sculpt_paint / sculpt.c
index 35d508c5a1faec88304dc86ed67d44da4ce6be5f..4932a41579e96f26c4c68bbaa746ef45ea9f7ed6 100644 (file)
@@ -4212,7 +4212,7 @@ static int sculpt_toggle_mode(bContext *C, wmOperator *UNUSED(op))
                /* Mask layer is required */
                ED_sculpt_mask_layers_ensure(ob, mmd);
 
-               paint_init(&ts->sculpt->paint, PAINT_CURSOR_SCULPT);
+               BKE_paint_init(&ts->sculpt->paint, PAINT_CURSOR_SCULPT);
                
                paint_cursor_start(C, sculpt_poll);
        }