Fix T100988: flickering when using sculpt brush in drag dot mode

Differential Revision: https://developer.blender.org/D16305
This commit is contained in:
Jacques Lucke
2022-11-08 11:46:44 +01:00
parent 1f3be45f1f
commit dc609d9f1f

View File

@@ -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)