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:34:23 +0400
committerNicholas Bishop <nicholasbishop@gmail.com>2012-05-11 00:34:23 +0400
commit0f57b0f1e514c8f13f2fcfeb71c6291640f88794 (patch)
tree9a8538f463a31b82a1b3639f74bb526645390d6c /source/blender/blenkernel/BKE_subsurf.h
parentf4929ad609727354bb6356aef788e8f2fa92d341 (diff)
Copy GridPaintMask to vertex paint mask when applying multires.
Adds new subsurf_copy_grid_paint_mask() function similar to subsurf_copy_grid_hidden().
Diffstat (limited to 'source/blender/blenkernel/BKE_subsurf.h')
-rw-r--r--source/blender/blenkernel/BKE_subsurf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_subsurf.h b/source/blender/blenkernel/BKE_subsurf.h
index 60a1e6ab68f..9bb815c3e7d 100644
--- a/source/blender/blenkernel/BKE_subsurf.h
+++ b/source/blender/blenkernel/BKE_subsurf.h
@@ -83,6 +83,10 @@ void subsurf_copy_grid_hidden(struct DerivedMesh *dm,
struct MVert *mvert,
const struct MDisps *mdisps);
+void subsurf_copy_grid_paint_mask(struct DerivedMesh *dm,
+ const struct MPoly *mpoly, float *paint_mask,
+ const struct GridPaintMask *grid_paint_mask);
+
typedef enum MultiresModifiedFlags {
/* indicates the grids have been sculpted on, so MDisps
* have to be updated */