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
This commit is contained in:
Sietse Brouwer
2023-05-03 21:48:19 +02:00
committed by Antonio Vazquez
parent 367145209c
commit a7d652e459

View File

@@ -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 */