diff options
author | Jacques Lucke <jacques@blender.org> | 2022-11-08 13:46:44 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2022-11-08 13:46:44 +0300 |
commit | dc609d9f1f6eadc565e75a6d6823d78c21af96a2 (patch) | |
tree | 036227886aeb171ae06ca687a84a4f70e10d1382 /source | |
parent | 1f3be45f1fbf2051436ce640363b0a4277e2fd62 (diff) |
Fix T100988: flickering when using sculpt brush in drag dot mode
Differential Revision: https://developer.blender.org/D16305
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_stroke.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_stroke.c b/source/blender/editors/sculpt_paint/paint_stroke.c index 97f5bd77d47..f1f864fdf82 100644 --- a/source/blender/editors/sculpt_paint/paint_stroke.c +++ b/source/blender/editors/sculpt_paint/paint_stroke.c @@ -249,7 +249,7 @@ static bool paint_stroke_use_scene_spacing(Brush *brush, ePaintMode mode) static bool paint_tool_raycast_original(Brush *brush, ePaintMode UNUSED(mode)) { - return brush->flag & BRUSH_ANCHORED; + return brush->flag & (BRUSH_ANCHORED | BRUSH_DRAG_DOT); } static bool paint_tool_require_inbetween_mouse_events(Brush *brush, ePaintMode mode) |