Fix T39392: Python bindings for geometry.box_pack_2d() return invalid total height

This commit is contained in:
Bastien Montagne 2014-03-24 17:39:17 +01:00
parent 3b68c6304d
commit e9a64e2770
Notes: blender-bot 2023-02-14 10:55:34 +01:00
Referenced by issue #39392, Python bindings for geometry.box_pack_2d() return invalid total height
1 changed files with 1 additions and 1 deletions

View File

@ -1515,7 +1515,7 @@ static PyObject *M_Geometry_box_pack_2d(PyObject *UNUSED(self), PyObject *boxlis
ret = PyTuple_New(2);
PyTuple_SET_ITEM(ret, 0, PyFloat_FromDouble(tot_width));
PyTuple_SET_ITEM(ret, 1, PyFloat_FromDouble(tot_width));
PyTuple_SET_ITEM(ret, 1, PyFloat_FromDouble(tot_height));
return ret;
}