diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2017-11-10 00:34:51 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2017-11-10 00:34:51 +0300 |
commit | f0e23f9321904095654edd507393a6ac1fc20c6a (patch) | |
tree | a6f00afd0fbb8e37003c4354db7f06b7952e80d3 /source/blender/editors/transform/transform.c | |
parent | 5ee8eac59ecb7df481d5b5d53a9a987b0be83761 (diff) |
More rampaging cleanup & refactor in new clnor editmesh/transform code.
Also added loop_index to TransDataLoopNormal mapping, which allows us to
avoid another nasty loop-in-loop case.
Diffstat (limited to 'source/blender/editors/transform/transform.c')
-rw-r--r-- | source/blender/editors/transform/transform.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c index e681cda50f8..1e2c83f9f07 100644 --- a/source/blender/editors/transform/transform.c +++ b/source/blender/editors/transform/transform.c @@ -4253,8 +4253,7 @@ void freeCustomNormalArray(TransInfo *t, TransCustomData *custom_data) } } - MEM_freeN(ld->normal); - MEM_freeN(ld); + BM_loop_normal_free(ld); t->custom.mode.data = NULL; t->custom.mode.free_cb = NULL; |