From a7d652e459056fee2b652fb9ae327debe93e376d Mon Sep 17 00:00:00 2001 From: Sietse Brouwer Date: Wed, 3 May 2023 21:48:19 +0200 Subject: [PATCH] Fix Unreported: GPencil grab tool doesn't work on strokes changed by modifiers The grab tool in Grease Pencil sculpt mode doesn't work correctly on strokes affected by modifiers. You had to grab over the original vertex positions to see any effect. Pull Request: https://projects.blender.org/blender/blender/pulls/106744 --- source/blender/editors/gpencil_legacy/gpencil_sculpt_paint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/editors/gpencil_legacy/gpencil_sculpt_paint.c b/source/blender/editors/gpencil_legacy/gpencil_sculpt_paint.c index fa21fdd9c1c..fb17f5158e3 100644 --- a/source/blender/editors/gpencil_legacy/gpencil_sculpt_paint.c +++ b/source/blender/editors/gpencil_legacy/gpencil_sculpt_paint.c @@ -1687,7 +1687,7 @@ static bool gpencil_sculpt_brush_do_frame(bContext *C, */ gpencil_brush_grab_stroke_init(gso, gps_active); changed |= gpencil_sculpt_brush_do_stroke( - gso, gps_active, bound_mat, gpencil_brush_grab_store_points); + gso, gps, bound_mat, gpencil_brush_grab_store_points); } else { /* Apply effect to the stored points */