diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-02-11 20:43:56 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-02-11 20:43:56 +0300 |
commit | 7f5dbb7de08fadd5bc81adc9067744fffe6c1cf8 (patch) | |
tree | 18d259587499d5dc33eed1167c1af846b1551437 | |
parent | f9fb95b9c1f58b95c861b0bc9bc6bf8218ec839c (diff) |
Fix #26040: Crash converting curve to mesh
Really stupid mistake :)
-rw-r--r-- | source/blender/blenkernel/intern/mesh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/mesh.c b/source/blender/blenkernel/intern/mesh.c index 2953fb17e90..8117a626c03 100644 --- a/source/blender/blenkernel/intern/mesh.c +++ b/source/blender/blenkernel/intern/mesh.c @@ -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; |