diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-06-17 12:50:56 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-06-17 12:50:56 +0300 |
commit | 2f1e34cfcc06a3fa49dc1b7c99e78cecdc509bf9 (patch) | |
tree | fb120177e2026413ac46e6ae1660258cfaf33b3f /source/blender/python/bmesh/bmesh_py_types.c | |
parent | 36e82b775933c511bb3f4dac9f3d572bf6fe0672 (diff) |
Cleanup: use clamp_* from BLI_math (replace macro)
Diffstat (limited to 'source/blender/python/bmesh/bmesh_py_types.c')
-rw-r--r-- | source/blender/python/bmesh/bmesh_py_types.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/bmesh/bmesh_py_types.c b/source/blender/python/bmesh/bmesh_py_types.c index 07c255c4abe..2c5fd4e7bf7 100644 --- a/source/blender/python/bmesh/bmesh_py_types.c +++ b/source/blender/python/bmesh/bmesh_py_types.c @@ -1399,7 +1399,7 @@ static PyObject *bpy_bmvert_copy_from_vert_interp(BPy_BMVert *self, PyObject *ar return NULL; } - BM_data_interp_from_verts(bm, vert_array[0], vert_array[1], self->v, CLAMPIS(fac, 0.0f, 1.0f)); + BM_data_interp_from_verts(bm, vert_array[0], vert_array[1], self->v, clamp_f(fac, 0.0f, 1.0f)); PyMem_FREE(vert_array); Py_RETURN_NONE; |