diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-01-16 23:59:55 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-01-16 23:59:55 +0400 |
commit | 7f513023d4fc730c63a26a445b5523498f554710 (patch) | |
tree | 36c47583d08fcadc6537749823f27ef062e81fb7 /source/blender/editors/sculpt_paint/paint_intern.h | |
parent | ea86ac54468cc36f1db74aec6cb64e44e9956e42 (diff) |
fix for airbrush not using tablet pressure (any brush with BRUSH_SPACE disabled).
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_intern.h')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_intern.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_intern.h b/source/blender/editors/sculpt_paint/paint_intern.h index cf55c93efe4..75a95d4d6fd 100644 --- a/source/blender/editors/sculpt_paint/paint_intern.h +++ b/source/blender/editors/sculpt_paint/paint_intern.h @@ -61,7 +61,8 @@ struct PaintStroke *paint_stroke_new(struct bContext *C, StrokeUpdateStep update_step, StrokeDone done, int event_type); void paint_stroke_data_free(struct wmOperator *op); -int paint_space_stroke_enabled(struct Brush *br); +bool paint_space_stroke_enabled(struct Brush *br); +bool paint_supports_dynamic_size(struct Brush *br); struct wmKeyMap *paint_stroke_modal_keymap(struct wmKeyConfig *keyconf); int paint_stroke_modal(struct bContext *C, struct wmOperator *op, struct wmEvent *event); |