Fix memory leak /w bend tool
This commit is contained in:
parent
7b60a0f64b
commit
fe9ce6603c
@ -2827,7 +2827,7 @@ static void initBend(TransInfo *t)
|
|||||||
t->num.unit_type[0] = B_UNIT_ROTATION;
|
t->num.unit_type[0] = B_UNIT_ROTATION;
|
||||||
t->num.unit_type[1] = B_UNIT_LENGTH;
|
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));
|
//copy_v3_v3(t->center, ED_view3d_cursor3d_get(t->scene, t->view));
|
||||||
calculateCenterCursor(t, t->center);
|
calculateCenterCursor(t, t->center);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user