Cleanup: unused calculation

This commit is contained in:
Campbell Barton 2019-01-04 19:08:46 +11:00
parent 670b2944f4
commit c6405f5ee8
1 changed files with 1 additions and 3 deletions

View File

@ -2554,9 +2554,7 @@ void BKE_object_dimensions_set(Object *ob, const float value[3])
bb = BKE_object_boundbox_get(ob);
if (bb) {
float scale[3], len[3];
mat4_to_size(scale, ob->obmat);
float len[3];
len[0] = bb->vec[4][0] - bb->vec[0][0];
len[1] = bb->vec[2][1] - bb->vec[0][1];