Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2015-10-28 02:10:00 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-10-28 02:10:00 +0300
commitfd1487977b0d1a24b2076e1bdf72b6102821e6e4 (patch)
treee09feec01bb065aae3b840807ac62ec1e8b782d1 /source/blender/editors/util/undo.c
parent16796c281352b4fbc5fd1ed5046c166aafd8cf64 (diff)
Fix T46471: Sculpt strokes doesn't mark file as modified
Diffstat (limited to 'source/blender/editors/util/undo.c')
-rw-r--r--source/blender/editors/util/undo.c6
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 */