diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-10-28 02:10:00 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-10-28 02:10:00 +0300 |
commit | fd1487977b0d1a24b2076e1bdf72b6102821e6e4 (patch) | |
tree | e09feec01bb065aae3b840807ac62ec1e8b782d1 /source/blender/editors/sculpt_paint/paint_mask.c | |
parent | 16796c281352b4fbc5fd1ed5046c166aafd8cf64 (diff) |
Fix T46471: Sculpt strokes doesn't mark file as modified
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 118f3a7571f..2f6314685e0 100644 --- a/source/blender/editors/sculpt_paint/paint_mask.c +++ b/source/blender/editors/sculpt_paint/paint_mask.c @@ -133,7 +133,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(); + sculpt_undo_push_end(C); if (nodes) MEM_freeN(nodes); @@ -265,7 +265,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(); + sculpt_undo_push_end(C); ED_region_tag_redraw(ar); @@ -420,7 +420,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(); + sculpt_undo_push_end(C); ED_region_tag_redraw(vc.ar); MEM_freeN((void *)mcords); |