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:
parent
32da64c17e
commit
3f2d5dfc0d
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue