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/renderconverter/intern/convertBlenderScene.c | |
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/renderconverter/intern/convertBlenderScene.c')
-rw-r--r-- | source/blender/renderconverter/intern/convertBlenderScene.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/renderconverter/intern/convertBlenderScene.c b/source/blender/renderconverter/intern/convertBlenderScene.c index 593910c7a29..ec8de661044 100644 --- a/source/blender/renderconverter/intern/convertBlenderScene.c +++ b/source/blender/renderconverter/intern/convertBlenderScene.c @@ -1317,7 +1317,7 @@ static void init_render_mesh(Object *ob) } dm = mesh_create_derived_render(ob); - dlm = dm->convertToDispListMesh(dm); + dlm = dm->convertToDispListMesh(dm, 1); mvert= dlm->mvert; totvert= dlm->totvert; |