Missing from recent commit

This commit is contained in:
Campbell Barton 2017-03-18 12:33:42 +11:00
parent e392bb4937
commit 3ceb68c833
Notes: blender-bot 2023-02-14 07:08:21 +01:00
Referenced by issue #50994, Problem with bevel modifier
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ static PyObject *bpyunits_to_value(PyObject *UNUSED(self), PyObject *args, PyObj
bUnit_ReplaceString(str, (int)str_len, uref, scale, usys, ucat);
if (!PyC_RunString_AsNumber(str, &result, "<bpy_units_api>")) {
if (!PyC_RunString_AsNumber(str, "<bpy_units_api>", &result)) {
if (PyErr_Occurred()) {
PyErr_Print();
PyErr_Clear();