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>2012-03-14 10:31:38 +0400
committerNicholas Bishop <nicholasbishop@gmail.com>2012-03-14 10:31:38 +0400
commit82840ef94bce87684b0fcebcc47eb11d3771c1d3 (patch)
treedc8a883b8f7efa885ee9fc9a672f1b765d27dc5c /source/blender/blenkernel/BKE_paint.h
parent0c918213646734acbbda110dca3fa2e2198b3894 (diff)
Add MDisps.hidden bitmap.
Updates SDNA, customdata functions, and file read/write. Also adds accessor functions to BKE paint.
Diffstat (limited to 'source/blender/blenkernel/BKE_paint.h')
-rw-r--r--source/blender/blenkernel/BKE_paint.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_paint.h b/source/blender/blenkernel/BKE_paint.h
index 045e11c18b8..ff3e3c81724 100644
--- a/source/blender/blenkernel/BKE_paint.h
+++ b/source/blender/blenkernel/BKE_paint.h
@@ -33,6 +33,7 @@
*/
struct Brush;
+struct MDisps;
struct MFace;
struct MultireModifierData;
struct MVert;
@@ -61,6 +62,11 @@ void paint_brush_set(struct Paint *paint, struct Brush *br);
int paint_facesel_test(struct Object *ob);
int paint_vertsel_test(struct Object *ob);
+/* partial visibility */
+int paint_is_face_hidden(const struct MFace *f, const struct MVert *mvert);
+int paint_is_grid_face_hidden(const unsigned int *grid_hidden,
+ int gridsize, int x, int y);
+
/* Session data (mode-specific) */
typedef struct SculptSession {