diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-03-18 04:33:42 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-03-18 04:33:59 +0300 |
commit | 3ceb68c8338e1c23f7e625aee393a71b54a242ce (patch) | |
tree | 564b7519906718b8dae98432c8453899c1ad6345 /source/blender/python | |
parent | e392bb49372a76cb4abd7d64d73e37f9c7fcb806 (diff) |
Missing from recent commit
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/intern/bpy_utils_units.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy_utils_units.c b/source/blender/python/intern/bpy_utils_units.c index 974d7c5549c..e0c70483e3c 100644 --- a/source/blender/python/intern/bpy_utils_units.c +++ b/source/blender/python/intern/bpy_utils_units.c @@ -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(); |