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:
authorCampbell Barton <ideasman42@gmail.com>2019-08-02 17:07:32 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-08-02 17:12:55 +0300
commite5a5d28c3e3ccd574163bfac37372fbcabfa6f75 (patch)
tree0e1681585b4b4bb92e0f77bd072253f5b23853be /source/blender/editors/sculpt_paint/paint_image_undo.c
parent05226e1512cbe53505dac65a21a184009963672b (diff)
Fix T67670: Sculpt doesn't mark the file as modified
Was also an issue for texture & paint curve.
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_image_undo.c')
-rw-r--r--source/blender/editors/sculpt_paint/paint_image_undo.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image_undo.c b/source/blender/editors/sculpt_paint/paint_image_undo.c
index 2a1158ec804..c7ec4f3f2b9 100644
--- a/source/blender/editors/sculpt_paint/paint_image_undo.c
+++ b/source/blender/editors/sculpt_paint/paint_image_undo.c
@@ -48,6 +48,8 @@
#include "GPU_draw.h"
+#include "WM_api.h"
+
#include "paint_intern.h"
/* -------------------------------------------------------------------- */
@@ -617,6 +619,7 @@ void ED_image_undo_push_end(void)
{
UndoStack *ustack = ED_undo_stack_get();
BKE_undosys_step_push(ustack, NULL, NULL);
+ WM_file_tag_modified();
}
/** \} */