Fix #26040: Crash converting curve to mesh

Really stupid mistake :)
This commit is contained in:
Sergey Sharybin
2011-02-11 17:43:56 +00:00
parent f9fb95b9c1
commit 7f5dbb7de0

View File

@@ -832,7 +832,7 @@ int nurbs_to_mdata_customdb(Object *ob, ListBase *dispbase, MVert **allvert, int
}
*allvert= mvert= MEM_callocN(sizeof (MVert) * totvert, "nurbs_init mvert");
*allface= mface= MEM_callocN(sizeof (MVert) * totvert, "nurbs_init mface");
*allface= mface= MEM_callocN(sizeof (MVert) * totvlak, "nurbs_init mface");
/* verts and faces */
vertcount= 0;