diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-03-18 01:39:36 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-03-18 01:39:36 +0300 |
commit | d863b5182e911b63f874c075f6c24a4c5933811e (patch) | |
tree | afadceb4b2f1d87ef36fa44de94e921ed29ba745 /source/blender/editors/util | |
parent | 9d873fc3debe03e87eb514f51fddf29ee76983b3 (diff) |
Cleanup: use return args last and 'r_' prefix.
Diffstat (limited to 'source/blender/editors/util')
-rw-r--r-- | source/blender/editors/util/numinput.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/util/numinput.c b/source/blender/editors/util/numinput.c index e07831358d6..3727be1842c 100644 --- a/source/blender/editors/util/numinput.c +++ b/source/blender/editors/util/numinput.c @@ -497,7 +497,7 @@ bool handleNumInput(bContext *C, NumInput *n, const wmEvent *event) n->unit_sys, n->unit_type[idx]); /* Note: with angles, we always get values as radians here... */ - if (BPY_execute_string_as_number(C, str_unit_convert, &val, false)) { + if (BPY_execute_string_as_number(C, str_unit_convert, false, &val)) { n->val[idx] = (float)val; n->val_flag[idx] &= ~NUM_INVALID; } |