Cleanup: use BM_mesh_* prefix for BMesh functions
This commit is contained in:
@@ -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++) {
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user