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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2006-09-24 23:29:25 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2006-09-24 23:29:25 +0400
commitef7200741beaf9df968e8e8e7ef6cfed5a51ccb3 (patch)
tree3dac4fed58960e9a857a7d1382661ea6eb771c51 /source/blender/blenkernel/BKE_brush.h
parent7f7f35d1ca75885eec6c062f9af00e4d0f39dbd0 (diff)
Basic pressure sensitivity support in imagepaint, for opacity, size,
falloff and spacing. Click the button labeled "P" next to the sliders. Works best for opacity, other options can give poor quality strokes in some cases. Also performance needs to be improved. Remember, works only on X11 and Mac, no Windows support for tablets yet.
Diffstat (limited to 'source/blender/blenkernel/BKE_brush.h')
-rw-r--r--source/blender/blenkernel/BKE_brush.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_brush.h b/source/blender/blenkernel/BKE_brush.h
index 52f86ef9c41..2c0034ad234 100644
--- a/source/blender/blenkernel/BKE_brush.h
+++ b/source/blender/blenkernel/BKE_brush.h
@@ -69,7 +69,7 @@ BrushPainter *brush_painter_new(struct Brush *brush);
void brush_painter_require_imbuf(BrushPainter *painter, short flt,
short texonly, int size);
int brush_painter_paint(BrushPainter *painter, BrushFunc func, float *pos,
- double time, void *user);
+ double time, float pressure, void *user);
void brush_painter_break_stroke(BrushPainter *painter);
void brush_painter_free(BrushPainter *painter);