Fix T39392: Python bindings for geometry.box_pack_2d() return invalid total height
This commit is contained in:
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
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue