diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2012-03-17 08:41:36 +0400 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2012-03-17 08:41:36 +0400 |
commit | 3d87c23f4ffb791e6be13ed8ce936f081bdf60a0 (patch) | |
tree | 00ef0af3ccd790c3678e661cef677fb58af3baef /source/blender/blenkernel/BKE_DerivedMesh.h | |
parent | 681e023cb0d9f7079a43397a8a44c2ece7ea9dc1 (diff) |
Reduce poly map memory usage (used by sculpt smooth brush.)
Changed the create_vert_poly_map function to return a more compact
structure. Memory saved will vary depending on the mesh, but typically
it should be about one third of the old size.
Diffstat (limited to 'source/blender/blenkernel/BKE_DerivedMesh.h')
-rw-r--r-- | source/blender/blenkernel/BKE_DerivedMesh.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_DerivedMesh.h b/source/blender/blenkernel/BKE_DerivedMesh.h index 0416e217168..e90646c72ee 100644 --- a/source/blender/blenkernel/BKE_DerivedMesh.h +++ b/source/blender/blenkernel/BKE_DerivedMesh.h @@ -301,7 +301,7 @@ struct DerivedMesh { /* Get a map of vertices to faces */ - struct ListBase *(*getPolyMap)(struct Object *ob, DerivedMesh *dm); + const struct MeshElemMap *(*getPolyMap)(struct Object *ob, DerivedMesh *dm); /* Get the BVH used for paint modes */ |