diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2009-01-22 01:40:28 +0300 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2009-01-22 01:40:28 +0300 |
commit | faa871117f6ed2221758820bef028d2dd034069c (patch) | |
tree | d0732df2015cc31034cf8d63adc89ee0a9428c29 /source/blender/blenkernel/BKE_sculpt.h | |
parent | e609d0cb25c3ecd368a1f65bfa0779a0a9ec4dd7 (diff) |
Brought back sculpt smooth brush. Also added a new brush flag for setting whether to use brush spacing.
Diffstat (limited to 'source/blender/blenkernel/BKE_sculpt.h')
-rw-r--r-- | source/blender/blenkernel/BKE_sculpt.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/source/blender/blenkernel/BKE_sculpt.h b/source/blender/blenkernel/BKE_sculpt.h index 54d750db3af..d0e28f3ae9a 100644 --- a/source/blender/blenkernel/BKE_sculpt.h +++ b/source/blender/blenkernel/BKE_sculpt.h @@ -40,13 +40,10 @@ struct StrokeCache; typedef struct SculptSession { struct ProjVert *projverts; - /* An array of lists; array is sized as - large as the number of verts in the mesh, - the list for each vert contains the index - for all the faces that use that vertex */ - struct ListBase *vertex_users; - struct IndexNode *vertex_users_mem; - int vertex_users_size; + /* Mesh connectivity */ + struct ListBase *fmap; + struct IndexNode *fmap_mem; + int fmap_size; /* Used temporarily per-stroke */ float *vertexcosnos; @@ -66,6 +63,5 @@ typedef struct SculptSession { } SculptSession; void sculptsession_free(struct Sculpt *sculpt); -void sculpt_vertexusers_free(struct SculptSession *ss); #endif |