diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-02-05 11:12:46 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-02-05 11:12:46 +0400 |
commit | 1d21e2386e39a34a86772e4b6f19791c1635a601 (patch) | |
tree | ec94c703a04ac795083ab117a28dd7640bd89e23 /source/blender/bmesh | |
parent | b0db9df701a1905ff8a337f0ae5384079fcba28d (diff) |
ensure tessface's are available while sculpting.
Diffstat (limited to 'source/blender/bmesh')
-rw-r--r-- | source/blender/bmesh/operators/mesh_conv.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source/blender/bmesh/operators/mesh_conv.c b/source/blender/bmesh/operators/mesh_conv.c index f4a63c986f7..39f312c72f8 100644 --- a/source/blender/bmesh/operators/mesh_conv.c +++ b/source/blender/bmesh/operators/mesh_conv.c @@ -631,11 +631,7 @@ void bmesh_to_mesh_exec(BMesh *bm, BMOperator *op) } if (dotess) { - me->totface = mesh_recalcTesselation(&me->fdata, &me->ldata, &me->pdata, - me->mvert, - me->totface, me->totloop, me->totpoly, - /* possibly can set to FALSE here, but defaults to true */ - TRUE); + BKE_mesh_calc_tessface(me); } mesh_update_customdata_pointers(me, dotess); |