diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-06-17 12:57:49 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-06-17 12:57:49 +0300 |
commit | 43ce201125ff97e16a56b372a91442590498dacc (patch) | |
tree | 10b6ef3c41cab5b9cef0b93d99de0a14fca4157f /source/blender/python/bmesh/bmesh_py_types.c | |
parent | 75188552a113f4dc226f21076f883ac3c11c9a98 (diff) | |
parent | 42103a3eb8e9ee341c89310cc2343bc21b6ae7e2 (diff) |
Merge branch 'master' into blender2.8
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 c2d159538cb..d32b8696c9c 100644 --- a/source/blender/python/bmesh/bmesh_py_types.c +++ b/source/blender/python/bmesh/bmesh_py_types.c @@ -1403,7 +1403,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; |