Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/sculpt_paint/paint_stroke.c
| Show First 20 Lines • Show All 243 Lines • ▼ Show 20 Lines | switch (mode) { | ||||
| default: | default: | ||||
| break; | break; | ||||
| } | } | ||||
| return false; | return false; | ||||
| } | } | ||||
| static bool paint_tool_raycast_original(Brush *brush, ePaintMode UNUSED(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) | static bool paint_tool_require_inbetween_mouse_events(Brush *brush, ePaintMode mode) | ||||
| { | { | ||||
| if (brush->flag & BRUSH_ANCHORED) { | if (brush->flag & BRUSH_ANCHORED) { | ||||
| return false; | return false; | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 1,439 Lines • Show Last 20 Lines | |||||