diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-02-19 04:20:18 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-02-19 07:54:06 +0300 |
commit | 7f65ab86e59f25e718213287273705cfd34e1746 (patch) | |
tree | 159ecb2d3d1fa4dbdc23f1da6df24879bcbda2ec /source/blender/editors/sculpt_paint/paint_mask.c | |
parent | 1beb6b43c162f657607b49df9d583b38a160d683 (diff) |
Cleanup: sync vertex-paint and sculpt from 2.8
Sync API changes from 2.8 to master.
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_mask.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_mask.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_mask.c b/source/blender/editors/sculpt_paint/paint_mask.c index 9d960980f30..8e091bdf59c 100644 --- a/source/blender/editors/sculpt_paint/paint_mask.c +++ b/source/blender/editors/sculpt_paint/paint_mask.c @@ -168,7 +168,7 @@ static int mask_flood_fill_exec(bContext *C, wmOperator *op) if (multires) multires_mark_as_modified(ob, MULTIRES_COORDS_MODIFIED); - sculpt_undo_push_end(C); + sculpt_undo_push_end(); if (nodes) MEM_freeN(nodes); @@ -323,7 +323,7 @@ int ED_sculpt_mask_box_select(struct bContext *C, ViewContext *vc, const rcti *r if (multires) multires_mark_as_modified(ob, MULTIRES_COORDS_MODIFIED); - sculpt_undo_push_end(C); + sculpt_undo_push_end(); ED_region_tag_redraw(ar); @@ -509,7 +509,7 @@ static int paint_mask_gesture_lasso_exec(bContext *C, wmOperator *op) if (multires) multires_mark_as_modified(ob, MULTIRES_COORDS_MODIFIED); - sculpt_undo_push_end(C); + sculpt_undo_push_end(); ED_region_tag_redraw(vc.ar); MEM_freeN((void *)mcords); |