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/util | |
parent | 16796c281352b4fbc5fd1ed5046c166aafd8cf64 (diff) |
Fix T46471: Sculpt strokes doesn't mark file as modified
Diffstat (limited to 'source/blender/editors/util')
-rw-r--r-- | source/blender/editors/util/undo.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source/blender/editors/util/undo.c b/source/blender/editors/util/undo.c index cd68df52ed4..483bb88b91c 100644 --- a/source/blender/editors/util/undo.c +++ b/source/blender/editors/util/undo.c @@ -111,11 +111,7 @@ void ED_undo_push(bContext *C, const char *str) BKE_undo_write(C, str); } - if (wm->file_saved) { - wm->file_saved = 0; - /* notifier that data changed, for save-over warning or header */ - WM_event_add_notifier(C, NC_WM | ND_DATACHANGED, NULL); - } + WM_file_tag_modified(C); } /* note: also check undo_history_exec() in bottom if you change notifiers */ |