2.5 Paint:
[blender.git] / source / blender / editors / sculpt_paint / paint_image.c
index 4ff658b51cf8bf8323d37c5e0629b3baaec7e5fc..93744072fffaa9ed5e517af77d603edda6e7a163 100644 (file)
@@ -5167,7 +5167,7 @@ static int texture_paint_toggle_exec(bContext *C, wmOperator *op)
                        me->mtface= CustomData_add_layer(&me->fdata, CD_MTFACE, CD_DEFAULT,
                                                         NULL, me->totface);
 
-               brush_check_exists(&scene->toolsettings->imapaint.brush);
+               brush_check_exists(&scene->toolsettings->imapaint.brush, "Brush");
 
                if(U.glreslimit != 0)
                        GPU_free_images();