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/sculpt_undo.c | |
parent | 16796c281352b4fbc5fd1ed5046c166aafd8cf64 (diff) |
Fix T46471: Sculpt strokes doesn't mark file as modified
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_undo.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_undo.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_undo.c b/source/blender/editors/sculpt_paint/sculpt_undo.c index 1f1be51b9a6..28fe526e952 100644 --- a/source/blender/editors/sculpt_paint/sculpt_undo.c +++ b/source/blender/editors/sculpt_paint/sculpt_undo.c @@ -884,7 +884,7 @@ void sculpt_undo_push_begin(const char *name) sculpt_undo_restore, sculpt_undo_free, sculpt_undo_cleanup); } -void sculpt_undo_push_end(void) +void sculpt_undo_push_end(const bContext *C) { ListBase *lb = undo_paint_push_get_list(UNDO_PAINT_MESH); SculptUndoNode *unode; @@ -901,4 +901,6 @@ void sculpt_undo_push_end(void) } ED_undo_paint_push_end(UNDO_PAINT_MESH); + + WM_file_tag_modified(C); } |