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:
Diffstat (limited to 'source/blender/editors/util/ed_util.c')
-rw-r--r--source/blender/editors/util/ed_util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/util/ed_util.c b/source/blender/editors/util/ed_util.c
index ae75c9d967b..9dca9350754 100644
--- a/source/blender/editors/util/ed_util.c
+++ b/source/blender/editors/util/ed_util.c
@@ -45,6 +45,7 @@
#include "ED_armature.h"
#include "ED_mesh.h"
+#include "ED_sculpt.h"
#include "ED_util.h"
#include "UI_text.h"
@@ -57,6 +58,7 @@ void ED_editors_exit(bContext *C)
/* frees all editmode undos */
undo_editmode_clear();
+ undo_imagepaint_clear();
/* global in meshtools... */
mesh_octree_table(ob, NULL, NULL, 'e');