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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2010-03-22 14:59:36 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2010-03-22 14:59:36 +0300
commit09b1c681e16575ee82bcc3949728189cb968d927 (patch)
tree1d16d380f47a8932e59f2aab94d3dda448291e13 /source/blender/blenkernel/BKE_paint.h
parent1e9bf0cfdb6c925b28af6f0330467e7d9d798c05 (diff)
Sculpt Mode Bugfixes:
* #20833: layer brush doesn't work with multires. * #20946: sculpt mode partially removes parts of the mesh in the viewport. * #20420: grab brush stops after moving some distance. * #20906: sculpt grab tool moves in wrong direction. * #21132 and #21272: undo on object with subdivision surface modifier crashes. * #21115: subsurf + multires + sculpting + undo causes crash. * #20683: sculpt + multires apply + undo crash. * #19094: wrong outline in solid mode.
Diffstat (limited to 'source/blender/blenkernel/BKE_paint.h')
-rw-r--r--source/blender/blenkernel/BKE_paint.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/blenkernel/BKE_paint.h b/source/blender/blenkernel/BKE_paint.h
index 8fd4f079ebf..81fb724b3a5 100644
--- a/source/blender/blenkernel/BKE_paint.h
+++ b/source/blender/blenkernel/BKE_paint.h
@@ -69,13 +69,15 @@ typedef struct SculptSession {
struct MFace *mface;
int totvert, totface;
float *face_normals;
- struct PBVH *tree;
struct Object *ob;
struct KeyBlock *kb, *refkb;
/* Mesh connectivity */
struct ListBase *fmap;
+ /* PBVH acceleration structure */
+ struct PBVH *pbvh;
+
/* Used temporarily per-stroke */
float *vertexcosnos;
@@ -87,7 +89,6 @@ typedef struct SculptSession {
/* Layer brush persistence between strokes */
float (*layer_co)[3]; /* Copy of the mesh vertices' locations */
- float *layer_disps; /* Displacements for each vertex */
struct SculptStroke *stroke;
struct StrokeCache *cache;
@@ -95,6 +96,6 @@ typedef struct SculptSession {
struct GPUDrawObject *drawobject;
} SculptSession;
-void free_sculptsession(SculptSession **);
+void free_sculptsession(struct Object *ob);
#endif