Complete last commit.

Sorry, forgot to check other uses of BKE_nurb_makeCurve, NURBS surfaces were affected as well.
This commit is contained in:
2014-06-18 23:53:11 +02:00
parent 4bf8b04025
commit 68a8f0073f

View File

@@ -1223,7 +1223,7 @@ void BKE_displist_make_surf(Scene *scene, Object *ob, ListBase *dispbase,
len = SEGMENTSU(nu) * resolu;
dl = MEM_callocN(sizeof(DispList), "makeDispListsurf");
dl->verts = MEM_mallocN(len * sizeof(float[3]), "dlverts");
dl->verts = MEM_callocN(len * sizeof(float[3]), "dlverts");
BLI_addtail(dispbase, dl);
dl->parts = 1;