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:
authorAntony Riakiotakis <kalast@gmail.com>2013-03-10 21:40:55 +0400
committerAntony Riakiotakis <kalast@gmail.com>2013-03-10 21:40:55 +0400
commit4760e002ddc3e93ecbf0861f535fe82d76dfa95b (patch)
treede8fccb717d98be6832f53c426c08056d7bb96c6 /source/blender/blenkernel/BKE_paint.h
parent98cafc953810a61c44ab37b8d27d7e12e83d0922 (diff)
Texpaint refactor complete!
* Projection painting files reside in paint_image_proj.c * 2d projection files reside in paint_image_2d.c * Common operator/paint operation code resides in paint_image.c All old code layout is out. Phew...Now we can at least concentrate on each system separately when debugging this beast. We could even separate the paint structs for 2d/projective more easily should we choose to do so.
Diffstat (limited to 'source/blender/blenkernel/BKE_paint.h')
-rw-r--r--source/blender/blenkernel/BKE_paint.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/blenkernel/BKE_paint.h b/source/blender/blenkernel/BKE_paint.h
index 78d36a93e40..6e9dfdb5cba 100644
--- a/source/blender/blenkernel/BKE_paint.h
+++ b/source/blender/blenkernel/BKE_paint.h
@@ -55,13 +55,13 @@ extern const char PAINT_CURSOR_WEIGHT_PAINT[3];
extern const char PAINT_CURSOR_TEXTURE_PAINT[3];
typedef enum PaintMode {
- PAINT_SCULPT,
- PAINT_VERTEX,
- PAINT_WEIGHT,
- PAINT_TEXTURE_PROJECTIVE,
- PAINT_TEXTURE_2D,
- PAINT_SCULPT_UV,
- PAINT_INVALID
+ PAINT_SCULPT = 0,
+ PAINT_VERTEX = 1,
+ PAINT_WEIGHT = 2,
+ PAINT_TEXTURE_PROJECTIVE = 3,
+ PAINT_TEXTURE_2D = 4,
+ PAINT_SCULPT_UV = 5,
+ PAINT_INVALID = 6
} PaintMode;
void BKE_paint_init(struct Paint *p, const char col[3]);