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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user