Commit: 45dbf1835f91fcc5aaca473360392f1918893c7c Author: Pablo Dobarro Date: Sat Mar 16 19:27:10 2019 +0100 Branches: sculpt-mode-features https://developer.blender.org/rB45dbf1835f91fcc5aaca473360392f1918893c7c
Brush cursor: Fix crash with 2D falloff Disable the normal preview when 2D falloff is enabled. =================================================================== M source/blender/editors/sculpt_paint/paint_cursor.c =================================================================== diff --git a/source/blender/editors/sculpt_paint/paint_cursor.c b/source/blender/editors/sculpt_paint/paint_cursor.c index 317e037ad95..a570600d9cb 100644 --- a/source/blender/editors/sculpt_paint/paint_cursor.c +++ b/source/blender/editors/sculpt_paint/paint_cursor.c @@ -1236,7 +1236,7 @@ static void paint_draw_cursor(bContext *C, int x, int y, void *UNUSED(unused)) } /* Only sculpt cursor for now */ - if ((mode == PAINT_MODE_SCULPT) && vc.obact->sculpt) { + if ((mode == PAINT_MODE_SCULPT) && vc.obact->sculpt && !(brush->falloff_shape & BRUSH_AIRBRUSH)) { Sculpt *sd = CTX_data_tool_settings(C)->sculpt; wmWindow *win = CTX_wm_window(C); if (sd->paint.brush->overlay_flags & BRUSH_OVERLAY_CURSOR) { _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs