diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2014-08-12 16:20:06 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2014-08-12 16:20:06 +0400 |
commit | 0bcc8d5cd3768759859a0af23f5bf2e91b7badfe (patch) | |
tree | 8f9b17ec2acd0dcf83e316ad483a4515593f8884 /source/blender/editors/sculpt_paint/paint_image_2d.c | |
parent | ba345bcbb6de5f32ba8ae3e9666077c707d10764 (diff) |
Support table erasor in projective painting as well.
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_image_2d.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_image_2d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image_2d.c b/source/blender/editors/sculpt_paint/paint_image_2d.c index 1f66910eaa2..1cba8a2cf23 100644 --- a/source/blender/editors/sculpt_paint/paint_image_2d.c +++ b/source/blender/editors/sculpt_paint/paint_image_2d.c @@ -1166,7 +1166,7 @@ static void paint_2d_canvas_free(ImagePaintState *s) image_undo_remove_masks(); } -void paint_2d_stroke(void *ps, const float prev_mval[2], const float mval[2], int eraser, float pressure, float distance, float size) +void paint_2d_stroke(void *ps, const float prev_mval[2], const float mval[2], const bool eraser, float pressure, float distance, float size) { float newuv[2], olduv[2]; ImagePaintState *s = ps; |