diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-12-06 00:36:36 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-12-06 00:37:09 +0300 |
commit | ad2e68b8268cdf6a220b46b0dca977fccce7af91 (patch) | |
tree | 160257940484d8ff3d247c022e2532d6b8d6f44b /source | |
parent | 3552731551ef1845b493ffebf78be5a42527e9f2 (diff) |
Cleanup: no need to access final mesh
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/editderivedmesh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/editderivedmesh.c b/source/blender/blenkernel/intern/editderivedmesh.c index db9ce6c9b7d..c22ede5ebf1 100644 --- a/source/blender/blenkernel/intern/editderivedmesh.c +++ b/source/blender/blenkernel/intern/editderivedmesh.c @@ -2801,12 +2801,12 @@ static void cage_mapped_verts_callback( float (*BKE_editmesh_vertexCos_get(BMEditMesh *em, Scene *scene, int *r_numVerts))[3] { - DerivedMesh *cage, *final; + DerivedMesh *cage; BLI_bitmap *visit_bitmap; struct CageUserData data; float (*cos_cage)[3]; - cage = editbmesh_get_derived_cage_and_final(scene, em->ob, em, CD_MASK_BAREMESH, &final); + cage = editbmesh_get_derived_cage(scene, em->ob, em, CD_MASK_BAREMESH); cos_cage = MEM_callocN(sizeof(*cos_cage) * em->bm->totvert, "bmbvh cos_cage"); /* when initializing cage verts, we only want the first cage coordinate for each vertex, |