diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2010-07-26 06:35:43 +0400 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2010-07-26 06:35:43 +0400 |
commit | 5b1231849cd2f87af24d13b6631199ba28e100e6 (patch) | |
tree | 4c49be4fd703942c5ad59617ac1764b6b5880fa8 /source/blender/blenkernel/BKE_paint.h | |
parent | a27de17349f7f341e07ff2521156a444b59ba3b9 (diff) |
* Factored out some duplicated code from rna_brush into paint.c, added a new function that checks whether a brush is used by that paint struct
* Fixed an improperly initialized variable in BKE_previewing_free_id
* Added an RNA access function to get the icon associated with a value
Diffstat (limited to 'source/blender/blenkernel/BKE_paint.h')
-rw-r--r-- | source/blender/blenkernel/BKE_paint.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_paint.h b/source/blender/blenkernel/BKE_paint.h index f9954b3d55d..95293f16d9d 100644 --- a/source/blender/blenkernel/BKE_paint.h +++ b/source/blender/blenkernel/BKE_paint.h @@ -60,6 +60,8 @@ void paint_brush_slot_remove(struct Paint *p); * however hiding faces is useful */ int paint_facesel_test(struct Object *ob); +int paint_has_brush(struct Paint *p, struct Brush *brush); + /* Session data (mode-specific) */ typedef struct SculptSession { |