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/sculpt_paint/sculpt_undo.c
parent16796c281352b4fbc5fd1ed5046c166aafd8cf64 (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.c4
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);
}