diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-05-08 18:06:30 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-05-08 18:06:30 +0300 |
commit | 0e964afaa4ad3f836f371f5b15a2c2275bdcb0f7 (patch) | |
tree | d1795e9f2825b5e4448e3dcf9be9308dc8dea506 /source/blender/modifiers/intern/MOD_build.c | |
parent | fa69ce9e3a682426aa0d247f4720571889d5a6c2 (diff) |
Cleanup: use 'nomain' when not in library data
Rename only.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_build.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_build.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_build.c b/source/blender/modifiers/intern/MOD_build.c index 7cb573c9e45..8e7e2e65169 100644 --- a/source/blender/modifiers/intern/MOD_build.c +++ b/source/blender/modifiers/intern/MOD_build.c @@ -217,8 +217,9 @@ static Mesh *applyModifier(ModifierData *md, const ModifierEvalContext *ctx, } /* now we know the number of verts, edges and faces, we can create the mesh. */ - result = BKE_mesh_from_template(mesh, BLI_ghash_len(vertHash), BLI_ghash_len(edgeHash), - 0, numLoops_dst, numFaces_dst); + result = BKE_mesh_new_nomain_from_template( + mesh, BLI_ghash_len(vertHash), BLI_ghash_len(edgeHash), + 0, numLoops_dst, numFaces_dst); /* copy the vertices across */ GHASH_ITER (gh_iter, vertHash) { |