Fix T100988: flickering when using sculpt brush in drag dot mode
Differential Revision: https://developer.blender.org/D16305
This commit is contained in:
parent
1f3be45f1f
commit
dc609d9f1f
Notes:
blender-bot
2023-02-14 05:53:38 +01:00
Referenced by issue #100988, Regression: Sculpt Layer brush "strength" jittering while in Drag Dot mode
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue