GPencil: Fix unreported error in Grab Brush for transformed layers

If the layer was transformed the grab brush was not initialized as expected because it was using an untrasformed matrix.
This commit is contained in:
Antonio Vazquez 2022-04-09 16:39:27 +02:00
parent 32da64c17e
commit 3f2d5dfc0d
1 changed files with 1 additions and 1 deletions

View File

@ -1627,7 +1627,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, diff_mat, gpencil_brush_grab_store_points);
gso, gps_active, bound_mat, gpencil_brush_grab_store_points);
}
else {
/* Apply effect to the stored points */