diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-03-21 20:11:25 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-03-21 20:11:25 +0300 |
commit | 903a8ed1fdba81b5f9df1e7f571fb49e9b917a10 (patch) | |
tree | d0f6b75b8334286dad365adc14ef40b8954a5625 | |
parent | ca94d97049f88a04178db1419b8a66fd9717b899 (diff) |
missing x/y setting for the first box
-rw-r--r-- | source/blender/blenlib/intern/boxpack2d.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/intern/boxpack2d.c b/source/blender/blenlib/intern/boxpack2d.c index ad90df650e2..e8cabbf1c05 100644 --- a/source/blender/blenlib/intern/boxpack2d.c +++ b/source/blender/blenlib/intern/boxpack2d.c @@ -174,6 +174,7 @@ void boxPack2D(boxPack *boxarray, int len, float *tot_width, float *tot_height) /* This sets all the vertex locations */ SET_BOXLEFT(box, 0.0); SET_BOXBOTTOM(box, 0.0); + box->x = box->y = 0.0; for (i=0; i<3; i++) vertex_pack_indicies[i] = box->v[i+1]->index; |