Missing from recent commit
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user