Removed most calls to modifier_deformVerts_DM_deprecated()

None of those calls actually passed a DerivedMesh.
This commit is contained in:
2018-06-28 16:01:02 +02:00
parent d2757d149b
commit e65d7665f1
4 changed files with 4 additions and 4 deletions

View File

@@ -638,7 +638,7 @@ static int modifier_apply_obdata(ReportList *reports, Depsgraph *depsgraph, Scen
BKE_report(reports, RPT_INFO, "Applied modifier only changed CV points, not tessellated/bevel vertices");
vertexCos = BKE_curve_nurbs_vertexCos_get(&cu->nurb, &numVerts);
modifier_deformVerts_DM_deprecated(md, &mectx, NULL, vertexCos, numVerts);
modifier_deformVerts(md, &mectx, NULL, vertexCos, numVerts);
BK_curve_nurbs_vertexCos_apply(&cu->nurb, vertexCos);
MEM_freeN(vertexCos);