diff options
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_ops.c b/source/blender/editors/sculpt_paint/paint_ops.c index a4da0789be3..be59d8e2c71 100644 --- a/source/blender/editors/sculpt_paint/paint_ops.c +++ b/source/blender/editors/sculpt_paint/paint_ops.c @@ -82,7 +82,7 @@ static int brush_add_exec(bContext *C, wmOperator *UNUSED(op)) br = BKE_brush_copy(bmain, br); } else { - br = BKE_brush_add(bmain, "Brush", BKE_paint_object_mode_from_paint_mode(mode)); + br = BKE_brush_add(bmain, "Brush", BKE_paint_object_mode_from_paintmode(mode)); id_us_min(&br->id); /* fake user only */ } |