diff options
author | Ton Roosendaal <ton@blender.org> | 2011-03-01 19:26:37 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2011-03-01 19:26:37 +0300 |
commit | 32d87359e1e670cd47d3fb427f37de7217203785 (patch) | |
tree | aa53b09be122898ad5d460d437e58adbb81c01b7 /source/blender/editors/sculpt_paint/paint_intern.h | |
parent | acd69b9c3ff944eb1a4bf75cf64a7b8d5add251e (diff) |
Bugfix #26249
Paint strokes now can be mapped to any key. The operators now store the
event it was started with, so it ends with a release. Even hotkeys work
(while hold).
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_intern.h')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_intern.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_intern.h b/source/blender/editors/sculpt_paint/paint_intern.h index a5ebebcdacd..48fca04ac87 100644 --- a/source/blender/editors/sculpt_paint/paint_intern.h +++ b/source/blender/editors/sculpt_paint/paint_intern.h @@ -58,7 +58,7 @@ typedef void (*StrokeDone)(struct bContext *C, struct PaintStroke *stroke); struct PaintStroke *paint_stroke_new(struct bContext *C, StrokeGetLocation get_location, StrokeTestStart test_start, - StrokeUpdateStep update_step, StrokeDone done); + StrokeUpdateStep update_step, StrokeDone done, int event_type); void paint_stroke_free(struct PaintStroke *stroke); int paint_space_stroke_enabled(struct Brush *br); |