Cleanup: use 'nomain' when not in library data

Rename only.
This commit is contained in:
2018-05-08 17:06:30 +02:00
parent fa69ce9e3a
commit 0e964afaa4
8 changed files with 29 additions and 24 deletions

View File

@@ -360,11 +360,12 @@ static Mesh *applyModifier(
mesh_calc_hq_normal(mesh, face_nors, vert_nors);
}
result = BKE_mesh_from_template(mesh,
(int)((numVerts * stride) + newVerts),
(int)((numEdges * stride) + newEdges + rimVerts), 0,
(int)((numLoops * stride) + newLoops),
(int)((numFaces * stride) + newFaces));
result = BKE_mesh_new_nomain_from_template(
mesh,
(int)((numVerts * stride) + newVerts),
(int)((numEdges * stride) + newEdges + rimVerts), 0,
(int)((numLoops * stride) + newLoops),
(int)((numFaces * stride) + newFaces));
mpoly = result->mpoly;
mloop = result->mloop;