diff options
author | Daniel Dunbar <daniel@zuster.org> | 2005-08-07 06:30:29 +0400 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2005-08-07 06:30:29 +0400 |
commit | 8da5df8887a315a9c92168c8dd81f11b6ee0b29b (patch) | |
tree | 2215d2dc26fe4fa4e006f414be78663099c4b59f /source/blender/blenkernel/BKE_displist.h | |
parent | f17a9a1d3dec63bbf7da592616736212315a057a (diff) |
- add allowShared argument to DerivedMesh.convertToDispListMesh to allow returned
DLM to share data from DerivedMesh (reduces some copying/memory allocation)
- added displistmesh_copyShared function to copy a DLM but not duplicate any
internal data
- changed crease drawing to use DerivedMesh functions... this means varying
edge width style of creases had to go, I replaced by using varying color to
show crease weight instead. Don't think this is a big loss since the subsurf
result gives you a much better indication of the crease weight anyway.
- bug fix in mirror modifier, didn't copy edge creases from editmesh correctly
Diffstat (limited to 'source/blender/blenkernel/BKE_displist.h')
-rw-r--r-- | source/blender/blenkernel/BKE_displist.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_displist.h b/source/blender/blenkernel/BKE_displist.h index 463b7b22e1d..1102603b6a4 100644 --- a/source/blender/blenkernel/BKE_displist.h +++ b/source/blender/blenkernel/BKE_displist.h @@ -103,6 +103,7 @@ void displistmesh_free(DispListMesh *dlm); void displistmesh_to_mesh(DispListMesh *dlm, struct Mesh *me); DispListMesh *displistmesh_copy(DispListMesh *odlm); +DispListMesh *displistmesh_copyShared(DispListMesh *odlm); /* * All the different DispList.type's use the |