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:
authorTon Roosendaal <ton@blender.org>2011-03-01 19:26:37 +0300
committerTon Roosendaal <ton@blender.org>2011-03-01 19:26:37 +0300
commit32d87359e1e670cd47d3fb427f37de7217203785 (patch)
treeaa53b09be122898ad5d460d437e58adbb81c01b7 /source/blender/editors/sculpt_paint/paint_intern.h
parentacd69b9c3ff944eb1a4bf75cf64a7b8d5add251e (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.h2
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);