Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-05-05 04:58:22 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-05-05 04:58:22 +0400
commit084fedd03a006982b386873a70f649627bf200aa (patch)
treec1934f9da2b2f9f7987104c7426d1ba2b11f0bb2 /source/blender/blenkernel/intern/paint.c
parent4c5502bfd690cad5c02aa6a0be0bd59400ef3407 (diff)
code cleanup: brush/camera naming
Diffstat (limited to 'source/blender/blenkernel/intern/paint.c')
-rw-r--r--source/blender/blenkernel/intern/paint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/paint.c b/source/blender/blenkernel/intern/paint.c
index f417f9b79fb..08d8479fd93 100644
--- a/source/blender/blenkernel/intern/paint.c
+++ b/source/blender/blenkernel/intern/paint.c
@@ -126,7 +126,7 @@ void paint_init(Paint *p, const char col[3])
/* If there's no brush, create one */
brush = paint_brush(p);
if (brush == NULL)
- brush= add_brush("Brush");
+ brush= BKE_brush_add("Brush");
paint_brush_set(p, brush);
memcpy(p->paint_cursor_col, col, 3);