diff options
author | Geoffrey Bantle <hairbat@yahoo.com> | 2007-09-11 03:03:32 +0400 |
---|---|---|
committer | Geoffrey Bantle <hairbat@yahoo.com> | 2007-09-11 03:03:32 +0400 |
commit | f42ef22cc0f15e96d0286a205531856ad8ab9c3e (patch) | |
tree | 51621347a1fe7faca69250c0dfed899874e8316b /source/blender/src | |
parent | 4bfa934ff329d008009dd3287881fe25eff6df09 (diff) |
-> Multires Editmode fix
Typo in Multires Editmode integration meant that way too much memory
was getting allocated for a pointer array (more than 10 times as much).
Diffstat (limited to 'source/blender/src')
-rw-r--r-- | source/blender/src/multires.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/multires.c b/source/blender/src/multires.c index 667bda84631..8704f9abfa4 100644 --- a/source/blender/src/multires.c +++ b/source/blender/src/multires.c @@ -1065,7 +1065,7 @@ void multires_level_to_mesh(Object *ob, Mesh *me, const int render) /* Remove editmesh elements */ free_editMesh(em); - eves= MEM_callocN(sizeof(EditVert)*lvl->totvert, "editvert pointers"); + eves= MEM_callocN(sizeof(EditVert*)*lvl->totvert, "editvert pointers"); } else { CustomData_free_layer_active(&me->vdata, CD_MVERT, me->totvert); CustomData_free_layer_active(&me->edata, CD_MEDGE, me->totedge); |