diff options
author | Gaia Clary <gaia.clary@machinimatrix.org> | 2013-05-23 00:46:48 +0400 |
---|---|---|
committer | Gaia Clary <gaia.clary@machinimatrix.org> | 2013-05-23 00:46:48 +0400 |
commit | be8649065b59e6dfdf6d42e775bc693a874d7bb0 (patch) | |
tree | da439355b616a93ec5164cb11a2018e903dd9a77 /source/blender/blenkernel/intern | |
parent | b068563ec892fe9fcf942e388610d89b874c8a6e (diff) |
wrong list member size for memory setting(was too short)
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/object_deform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/object_deform.c b/source/blender/blenkernel/intern/object_deform.c index fe23dcde7bf..bfec38419f1 100644 --- a/source/blender/blenkernel/intern/object_deform.c +++ b/source/blender/blenkernel/intern/object_deform.c @@ -149,7 +149,7 @@ bool *BKE_objdef_selected_get(Object *ob, int defbase_tot, int *r_dg_flags_sel_t } } else { - memset(dg_selection, FALSE, sizeof(char) * defbase_tot); + memset(dg_selection, FALSE, sizeof(*dg_selection) * defbase_tot); } return dg_selection; |