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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-11-04 23:19:41 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-11-04 23:19:41 +0300
commit4bdfa8a7d71c7b982a1f13191cfc4ee07502d473 (patch)
treec0d95be0cf39b5c7e8576bb1160c8cc6691aeb7b /source/blender/editors/include/ED_sculpt.h
parent8b8f8fc11e8369b740ca00e27db771077b0ffbb5 (diff)
Sculpt: split generic part of image paint undo system into separate
paint_undo.c file, to be reused for sculpt.
Diffstat (limited to 'source/blender/editors/include/ED_sculpt.h')
-rw-r--r--source/blender/editors/include/ED_sculpt.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/source/blender/editors/include/ED_sculpt.h b/source/blender/editors/include/ED_sculpt.h
index 12ebd74b64b..085c8e894f8 100644
--- a/source/blender/editors/include/ED_sculpt.h
+++ b/source/blender/editors/include/ED_sculpt.h
@@ -45,8 +45,11 @@ void sculpt_get_redraw_planes(float planes[4][4], struct ARegion *ar,
void ED_operatortypes_paint(void);
void ED_keymap_paint(struct wmKeyConfig *keyconf);
-/* paint_image.c */
-void undo_imagepaint_step(int step);
-void undo_imagepaint_clear(void);
+/* paint_undo.c */
+#define UNDO_PAINT_IMAGE 0
+#define UNDO_PAINT_MESH 1
+
+void ED_undo_paint_step(struct bContext *C, int type, int step);
+void ED_undo_paint_free(void);
#endif