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-05 08:11:34 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-02-05 08:11:34 +0400
commitebf8ed57e482ff055db6fbf72079dd66f891430b (patch)
tree58c608406c5473d68280e506cc3ed940a7ac6cbd /source/blender/blenkernel/BKE_paint.h
parent5c1bee7ebcad45f2bdcb00320d1bdbddcc771afa (diff)
update sculpt mode not to rely on tesselated faces (use MPoly's instead, saves slowdown of having to maintain tesselation of base mesh data)
Diffstat (limited to 'source/blender/blenkernel/BKE_paint.h')
-rw-r--r--source/blender/blenkernel/BKE_paint.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_paint.h b/source/blender/blenkernel/BKE_paint.h
index 081b79b44d6..93b33ccd630 100644
--- a/source/blender/blenkernel/BKE_paint.h
+++ b/source/blender/blenkernel/BKE_paint.h
@@ -67,8 +67,9 @@ typedef struct SculptSession {
/* Mesh data (not copied) can come either directly from a Mesh, or from a MultiresDM */
struct MultiresModifierData *multires; /* Special handling for multires meshes */
struct MVert *mvert;
- struct MFace *mface;
- int totvert, totface;
+ struct MPoly *mpoly;
+ struct MLoop *mloop;
+ int totvert, totpoly;
float *face_normals;
struct KeyBlock *kb;