diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-02-05 15:18:33 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-02-05 15:18:33 +0400 |
commit | 36fc4e15f69f4150812408b32a9052017590eb8b (patch) | |
tree | 84e1bdf0728fa8e4640ea683781a665fc612afeb /source/blender/editors/sculpt_paint/paint_intern.h | |
parent | fc9626b1df5f9a05673199e82f4aafd1f4d42d08 (diff) |
Fix for vpaint_stroke_test_start returning operator flags, not bool
also use bools for paint callbacks
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_intern.h')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_intern.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_intern.h b/source/blender/editors/sculpt_paint/paint_intern.h index 8d3efd0003a..6dd42380a11 100644 --- a/source/blender/editors/sculpt_paint/paint_intern.h +++ b/source/blender/editors/sculpt_paint/paint_intern.h @@ -58,8 +58,8 @@ struct DMCoNo; enum PaintMode; /* paint_stroke.c */ -typedef int (*StrokeGetLocation)(struct bContext *C, float location[3], const float mouse[2]); -typedef int (*StrokeTestStart)(struct bContext *C, struct wmOperator *op, const float mouse[2]); +typedef bool (*StrokeGetLocation)(struct bContext *C, float location[3], const float mouse[2]); +typedef bool (*StrokeTestStart)(struct bContext *C, struct wmOperator *op, const float mouse[2]); typedef void (*StrokeUpdateStep)(struct bContext *C, struct PaintStroke *stroke, struct PointerRNA *itemptr); typedef void (*StrokeRedraw)(const struct bContext *C, struct PaintStroke *stroke, bool final); typedef void (*StrokeDone)(const struct bContext *C, struct PaintStroke *stroke); |