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-05-11 00:33:55 +0400
committerNicholas Bishop <nicholasbishop@gmail.com>2012-05-11 00:33:55 +0400
commit4c66616f4457098f344d6660a8b011a0bbcd9bbb (patch)
treecc8f5799dc2cd5e8754a6e3e8ad83bd9414739ce /source/blender/blenkernel/BKE_paint.h
parent4a149bcb6685ba37a9e0cc557b0a6e6d5d99747d (diff)
Add GridPaintMask accessor to paint.c.
Diffstat (limited to 'source/blender/blenkernel/BKE_paint.h')
-rw-r--r--source/blender/blenkernel/BKE_paint.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_paint.h b/source/blender/blenkernel/BKE_paint.h
index bd31a62abf9..7bee131c63b 100644
--- a/source/blender/blenkernel/BKE_paint.h
+++ b/source/blender/blenkernel/BKE_paint.h
@@ -35,6 +35,7 @@
struct Brush;
struct MDisps;
struct MeshElemMap;
+struct GridPaintMask;
struct MFace;
struct MultireModifierData;
struct MVert;
@@ -68,6 +69,10 @@ 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);
+/* paint masks */
+float paint_grid_paint_mask(const struct GridPaintMask *gpm, unsigned level,
+ unsigned x, unsigned y);
+
/* Session data (mode-specific) */
typedef struct SculptSession {