diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-02-20 02:53:40 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-02-20 02:53:40 +0300 |
commit | 8e41a21607231b733ef0f5469be90ca4715e9afa (patch) | |
tree | a82636932532377a9bb8cdebe63b1b5415f15a1f /source/blender/editors/util | |
parent | 2cb5af58a6cf8120275b37c063899b0234719da2 (diff) |
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.
Diffstat (limited to 'source/blender/editors/util')
-rw-r--r-- | source/blender/editors/util/ed_util.c | 2 | ||||
-rw-r--r-- | source/blender/editors/util/undo.c | 2 |
2 files changed, 3 insertions, 1 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'); diff --git a/source/blender/editors/util/undo.c b/source/blender/editors/util/undo.c index 15dba3fc951..0584644c027 100644 --- a/source/blender/editors/util/undo.c +++ b/source/blender/editors/util/undo.c @@ -60,6 +60,7 @@ #include "ED_mesh.h" #include "ED_object.h" #include "ED_screen.h" +#include "ED_sculpt.h" #include "ED_util.h" #include "WM_api.h" @@ -72,7 +73,6 @@ /* ********* XXX **************** */ static void undo_push_mball() {} -static void undo_imagepaint_step() {} static void sound_initialize_sounds() {} /* ********* XXX **************** */ |