diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-07-26 02:37:52 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-07-26 02:37:52 +0400 |
commit | be23539a9469e24caf65b192779cedac9ad2cd6c (patch) | |
tree | 0108b0427b7a85eed739cf1d2639b85dc3d6ebad /source/blender/blenkernel/intern/paint.c | |
parent | 2b133b14ab1b37f80f94a7a411ee116e095c9b8d (diff) |
code cleanup: use BKE_pain_ prefix for paint funcs. also minor style edits
Diffstat (limited to 'source/blender/blenkernel/intern/paint.c')
-rw-r--r-- | source/blender/blenkernel/intern/paint.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/paint.c b/source/blender/blenkernel/intern/paint.c index 56db84ab0d5..3267253e744 100644 --- a/source/blender/blenkernel/intern/paint.c +++ b/source/blender/blenkernel/intern/paint.c @@ -184,7 +184,7 @@ void BKE_paint_init(Paint *p, const char col[3]) p->flags |= PAINT_SHOW_BRUSH; } -void free_paint(Paint *paint) +void BKE_paint_free(Paint *paint) { id_us_min((ID *)paint->brush); } @@ -193,7 +193,7 @@ void free_paint(Paint *paint) * still do a id_us_plus(), rather then if we were copying betweem 2 existing * scenes where a matching value should decrease the existing user count as * with paint_brush_set() */ -void copy_paint(Paint *src, Paint *tar) +void BKE_paint_copy(Paint *src, Paint *tar) { tar->brush = src->brush; id_us_plus((ID *)tar->brush); |