diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-10-01 19:08:20 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-10-01 19:13:50 +0300 |
commit | a513586cd23e14c79f23fe14297bdca78019ec14 (patch) | |
tree | 95da60f3ebd6735b785db1bdd9a9567c89eb5289 /source/blender/editors/sculpt_paint/paint_image_2d.c | |
parent | 8ce14aa21f45653ab33bdd9e6e20cea3f09fa873 (diff) |
Cleanup: remove ED_image_paint_tile_remove_masks_all
Masks are now temporary, not part of the persistent undo tiles.
Now they're always freed after the stroke.
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_image_2d.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_image_2d.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image_2d.c b/source/blender/editors/sculpt_paint/paint_image_2d.c index 58ea00d6740..4f1ae10aa62 100644 --- a/source/blender/editors/sculpt_paint/paint_image_2d.c +++ b/source/blender/editors/sculpt_paint/paint_image_2d.c @@ -1455,8 +1455,6 @@ static void paint_2d_canvas_free(ImagePaintState *s) paint_delete_blur_kernel(s->blurkernel); MEM_freeN(s->blurkernel); } - - ED_image_paint_tile_remove_masks_all(); } void paint_2d_stroke(void *ps, |