diff options
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_stroke.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_stroke.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_stroke.c b/source/blender/editors/sculpt_paint/paint_stroke.c index 2af6a4db3ee..a782ca9a5ec 100644 --- a/source/blender/editors/sculpt_paint/paint_stroke.c +++ b/source/blender/editors/sculpt_paint/paint_stroke.c @@ -1365,6 +1365,11 @@ bool paint_stroke_flipped(struct PaintStroke *stroke) return stroke->pen_flip; } +bool paint_stroke_inverted(struct PaintStroke *stroke) +{ + return stroke->stroke_mode == BRUSH_STROKE_INVERT; +} + float paint_stroke_distance_get(struct PaintStroke *stroke) { return stroke->stroke_distance; |