From 8da5df8887a315a9c92168c8dd81f11b6ee0b29b Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Sun, 7 Aug 2005 02:30:29 +0000 Subject: - 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 --- source/blender/blenkernel/BKE_displist.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/blenkernel/BKE_displist.h') 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 -- cgit v1.2.3