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:
authorCampbell Barton <ideasman42@gmail.com>2012-02-08 15:52:44 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-02-08 15:52:44 +0400
commitb228685e9296cf6d7b25671003067f2d877345a3 (patch)
treeafdf937cdc3b6586e2a8f38bde6278fdcc97ab12 /source/blender/blenkernel/BKE_mesh.h
parenta5eb673b4dd1a8cb0946b9e999efbc9cbc7a00ee (diff)
fix [#30101] Vertex colors disappear after leaving edit mode
this commit makes vertex paint check if it needs to rebuild the modifier stack when painting. - when painting with no modifiers, do partial updates from polys to tessfaces while painting, skip re-tesselation. - when painting onto a modified mesh, dont bother adjusting tessface colors - since the modifier stack will do this anyway. both cases should be faster then before.
Diffstat (limited to 'source/blender/blenkernel/BKE_mesh.h')
-rw-r--r--source/blender/blenkernel/BKE_mesh.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_mesh.h b/source/blender/blenkernel/BKE_mesh.h
index f34af1a19ac..08916b5a971 100644
--- a/source/blender/blenkernel/BKE_mesh.h
+++ b/source/blender/blenkernel/BKE_mesh.h
@@ -270,6 +270,7 @@ void BKE_mesh_ensure_navmesh(struct Mesh *me);
void BKE_mesh_calc_tessface(struct Mesh *mesh);
void BKE_mesh_ensure_tessface(struct Mesh *mesh);
+void BKE_mesh_clear_tessface(struct Mesh *mesh);
/*convert a triangle of loop facedata to mface facedata*/
void mesh_loops_to_mface_corners(struct CustomData *fdata, struct CustomData *ldata,