diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-05-08 12:03:16 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-05-08 12:04:20 +0300 |
commit | 50e31136fd5b0d26d1a2880a1c895c2809317d50 (patch) | |
tree | 504f04688785c9462daaf57f89e3a83b5f954cdf /source/blender/modifiers/intern/MOD_lattice.c | |
parent | cf7c3462edfea7bd75629b1ab5eb9059131c2224 (diff) |
Rename BKE_bmesh_to_mesh to BKE_bmesh_to_mesh_nomain.
Let's be clear about functions generating datablocks outside of Main
database.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_lattice.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_lattice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_lattice.c b/source/blender/modifiers/intern/MOD_lattice.c index 87933558d86..84e7e41efcb 100644 --- a/source/blender/modifiers/intern/MOD_lattice.c +++ b/source/blender/modifiers/intern/MOD_lattice.c @@ -124,7 +124,7 @@ static void deformVertsEM( struct Mesh *mesh_src = mesh; if (!mesh) { - mesh_src = BKE_bmesh_to_mesh(em->bm, &(struct BMeshToMeshParams){0}); + mesh_src = BKE_bmesh_to_mesh_nomain(em->bm, &(struct BMeshToMeshParams){0}); } deformVerts(md, ctx, mesh_src, vertexCos, numVerts); |