diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2006-09-24 23:29:25 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2006-09-24 23:29:25 +0400 |
commit | ef7200741beaf9df968e8e8e7ef6cfed5a51ccb3 (patch) | |
tree | 3dac4fed58960e9a857a7d1382661ea6eb771c51 /source/blender/src/vpaint.c | |
parent | 7f7f35d1ca75885eec6c062f9af00e4d0f39dbd0 (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/src/vpaint.c')
-rw-r--r-- | source/blender/src/vpaint.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/src/vpaint.c b/source/blender/src/vpaint.c index 380763834ac..cf4c5e9b9fc 100644 --- a/source/blender/src/vpaint.c +++ b/source/blender/src/vpaint.c @@ -547,6 +547,9 @@ void sample_vpaint() /* frontbuf */ brush->rgb[0]= cp[0]/255.0f; brush->rgb[1]= cp[1]/255.0f; brush->rgb[2]= cp[2]/255.0f; + + allqueue(REDRAWVIEW3D, 0); + allqueue(REDRAWIMAGE, 0); } } |