diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-05-25 03:28:54 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-05-25 03:37:09 +0300 |
commit | fe9ce6603cb9db74d33a28fe11de64fa35d08d0f (patch) | |
tree | a5ce6e07560a4273a0dc8004a725ca8c21d8dea8 /source/blender/editors/transform | |
parent | 7b60a0f64b9c3116108815570e8a2ce0be6f08a2 (diff) |
Fix memory leak /w bend tool
Diffstat (limited to 'source/blender/editors/transform')
-rw-r--r-- | source/blender/editors/transform/transform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c index b49fe5eca5e..6db78a226e8 100644 --- a/source/blender/editors/transform/transform.c +++ b/source/blender/editors/transform/transform.c @@ -2827,7 +2827,7 @@ static void initBend(TransInfo *t) t->num.unit_type[0] = B_UNIT_ROTATION; t->num.unit_type[1] = B_UNIT_LENGTH; - t->flag |= T_NO_CONSTRAINT; + t->flag |= T_NO_CONSTRAINT | T_FREE_CUSTOMDATA; //copy_v3_v3(t->center, ED_view3d_cursor3d_get(t->scene, t->view)); calculateCenterCursor(t, t->center); |