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:
authorNicholas Bishop <nicholasbishop@gmail.com>2010-07-10 01:27:29 +0400
committerNicholas Bishop <nicholasbishop@gmail.com>2010-07-10 01:27:29 +0400
commit5352328af086ef91639094b1475fdc19cfc0cf3b (patch)
tree576344f0880da8d26336328144dccdb4fd96d8d6 /source/blender/makesdna/DNA_scene_types.h
parent7167f3b75ac28b6371757fddf8696e7535b177cf (diff)
Begin updating vpaint to use the PBVH
* Added a new flag (plus RNA/UI) to switch between old vpaint and new vpaint * For new vpaint, draw using the PBVH. Lighting is enabled for new vpaint. * Note that the full model is still being redrawn, partial redraw isn't enabled yet. * For new vpaint, use the PBVH to determine which faces to paint on. Only mix brush works right now.
Diffstat (limited to 'source/blender/makesdna/DNA_scene_types.h')
-rw-r--r--source/blender/makesdna/DNA_scene_types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h
index 1933798d7c9..f9be32126aa 100644
--- a/source/blender/makesdna/DNA_scene_types.h
+++ b/source/blender/makesdna/DNA_scene_types.h
@@ -597,6 +597,9 @@ typedef struct VPaint {
// #define VP_MIRROR_X 32 // depricated in 2.5x use (me->editflag & ME_EDIT_MIRROR_X)
#define VP_ONLYVGROUP 128
+/* temporary flag; if this flag is set vpaint is same as ever, otherwise it uses the PBVH */
+#define VP_BACKBUF 256
+
typedef struct ToolSettings {
VPaint *vpaint; /* vertex paint */