diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-01-14 05:00:11 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-01-14 05:00:11 +0300 |
commit | f5604af464cd2e2cbb271378df2827cbe6eaffe3 (patch) | |
tree | c803fb688ae839c82d7dbc0e571cdc8a34bbe14e /source/blender/python | |
parent | bc3db85da8c6aa101d6ccf8d50f8d11ee1b143de (diff) |
Cleanup: use BM_mesh_* prefix for BMesh functions
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/bmesh/bmesh_py_types.c | 2 | ||||
-rw-r--r-- | source/blender/python/mathutils/mathutils_bvhtree.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/bmesh/bmesh_py_types.c b/source/blender/python/bmesh/bmesh_py_types.c index fc25a79f77a..833e8e32147 100644 --- a/source/blender/python/bmesh/bmesh_py_types.c +++ b/source/blender/python/bmesh/bmesh_py_types.c @@ -1257,7 +1257,7 @@ static PyObject *bpy_bmesh_calc_tessface(BPy_BMElem *self) looptris_tot = poly_to_tri_count(bm->totface, bm->totloop); looptris = PyMem_MALLOC(sizeof(*looptris) * looptris_tot); - BM_bmesh_calc_tessellation(bm, looptris, &tottri); + BM_mesh_calc_tessellation(bm, looptris, &tottri); ret = PyList_New(tottri); for (i = 0; i < tottri; i++) { diff --git a/source/blender/python/mathutils/mathutils_bvhtree.c b/source/blender/python/mathutils/mathutils_bvhtree.c index b3b9d4a86dc..20baf6c403a 100644 --- a/source/blender/python/mathutils/mathutils_bvhtree.c +++ b/source/blender/python/mathutils/mathutils_bvhtree.c @@ -894,7 +894,7 @@ static PyObject *C_BVHTree_FromBMesh(PyObject *UNUSED(cls), PyObject *args, PyOb looptris = MEM_mallocN(sizeof(*looptris) * (size_t)tris_len, __func__); - BM_bmesh_calc_tessellation(bm, looptris, &tris_len_dummy); + BM_mesh_calc_tessellation(bm, looptris, &tris_len_dummy); BLI_assert(tris_len_dummy == (int)tris_len); } |