Fix memory leak /w bend tool

This commit is contained in:
Campbell Barton 2015-05-25 10:28:54 +10:00
parent 7b60a0f64b
commit fe9ce6603c
1 changed files with 1 additions and 1 deletions

View File

@ -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);