Cleanup: remove useless DM_ensure_looptri().

That one was doing exactly same thing as `dm->getLoopTriArray()`, no
point in having twice the same code here...
This commit is contained in:
2017-08-11 16:18:01 +02:00
parent e324172d9c
commit c034193821
12 changed files with 2 additions and 39 deletions

View File

@@ -1156,7 +1156,6 @@ static PyObject *C_BVHTree_FromObject(PyObject *UNUSED(cls), PyObject *args, PyO
/* Get data for tessellation */
{
DM_ensure_looptri(dm);
lt = dm->getLoopTriArray(dm);
tris_len = (unsigned int)dm->getNumLoopTri(dm);