diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-01-19 21:51:52 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-01-19 21:51:52 +0400 |
commit | bc745a32d31fd7885dcd3dc0682a8e3150268778 (patch) | |
tree | 1572d6159cd1a9da5678485037cf6ffce27a666f /source/blender/editors/object | |
parent | 330da356dab13db7d094064a00d56347b1d53e79 (diff) |
argument to mesh_recalcTesselation to skip copying normals from polygons.
Diffstat (limited to 'source/blender/editors/object')
-rw-r--r-- | source/blender/editors/object/object_add.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/editors/object/object_add.c b/source/blender/editors/object/object_add.c index 70a1aa73fc9..f96da9e5b07 100644 --- a/source/blender/editors/object/object_add.c +++ b/source/blender/editors/object/object_add.c @@ -1371,9 +1371,7 @@ static int convert_exec(bContext *C, wmOperator *op) DM_to_mesh(dm, newob->data, newob); - /* re-tesselation doesn't happen automatic, calling like this is */ - me= newob->data; - me->totface = mesh_recalcTesselation(&me->fdata, &me->ldata, &me->pdata, me->mvert, me->totface, me->totloop, me->totpoly); + /* re-tesselation is called by DM_to_mesh */ dm->release(dm); object_free_modifiers(newob); /* after derivedmesh calls! */ |