[Bf-blender-cvs] [dc609d9f1f6] blender-v3.4-release: Fix T100988: flickering when using sculpt brush in drag dot mode
Jacques Lucke
noreply at git.blender.org
Tue Nov 8 11:46:54 CET 2022
Commit: dc609d9f1f6eadc565e75a6d6823d78c21af96a2
Author: Jacques Lucke
Date: Tue Nov 8 11:46:44 2022 +0100
Branches: blender-v3.4-release
https://developer.blender.org/rBdc609d9f1f6eadc565e75a6d6823d78c21af96a2
Fix T100988: flickering when using sculpt brush in drag dot mode
Differential Revision: https://developer.blender.org/D16305
===================================================================
M source/blender/editors/sculpt_paint/paint_stroke.c
===================================================================
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)
More information about the Bf-blender-cvs
mailing list