diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-05-12 13:14:13 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-05-12 13:14:13 +0400 |
commit | 70eaf2fe44934da315753df30aff450333082630 (patch) | |
tree | a3dd92ddd4989a586fb64b475047fd645b148f2e /source/blender/blenkernel/BKE_brush.h | |
parent | 698f1b56037ea9c6eec170a0f3b74b7a46eaae1d (diff) |
Image paint: 2D painting now supports texture masks and does masking more
consistent with projection painting.
Also did some refactoring of this code, moving the brush image creation code
out of brush.c and making it consistent with image updating code.
Diffstat (limited to 'source/blender/blenkernel/BKE_brush.h')
-rw-r--r-- | source/blender/blenkernel/BKE_brush.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source/blender/blenkernel/BKE_brush.h b/source/blender/blenkernel/BKE_brush.h index 60c50b989fb..9990aeda92b 100644 --- a/source/blender/blenkernel/BKE_brush.h +++ b/source/blender/blenkernel/BKE_brush.h @@ -81,12 +81,6 @@ float BKE_brush_sample_tex_3D(const Scene *scene, struct Brush *br, const float float BKE_brush_sample_masktex(const Scene *scene, struct Brush *br, const float point[3], const int thread, struct ImagePool *pool); -enum BrushImBufFill { BRUSH_IMBUF_MASK, BRUSH_IMBUF_TEX, BRUSH_IMBUF_TEX_MASK }; -void BKE_brush_imbuf_new(const struct Scene *scene, struct Brush *brush, bool use_float, - enum BrushImBufFill fill, int size, struct ImBuf **imbuf, - bool use_color_correction, bool use_brush_alpha, - struct ImagePool *pool, struct rctf *mapping); - /* texture */ unsigned int *BKE_brush_gen_texture_cache(struct Brush *br, int half_side); |