From 8e41a21607231b733ef0f5469be90ca4715e9afa Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Thu, 19 Feb 2009 23:53:40 +0000 Subject: 2.5: * Image painting back. 2d paint, 3d paint and projection, undo, pressure, repeating paint operations, etc should all work. Drawing cursor needs a bit of work, only gets shown when enabling texture paint mode now. * Move sculpt, image paint, and vertex/weight paint into a single sculpt_paint module. Doesn't make much difference now, but nice to have it together for better integration and consistency in the future. --- source/blender/editors/util/ed_util.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/editors/util/ed_util.c') 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'); -- cgit v1.2.3