Cleanup: style, use braces for the Python API

This commit is contained in:
Campbell Barton
2019-03-30 06:12:48 +11:00
parent 18d06e8d21
commit 25ec4b437f
39 changed files with 1689 additions and 800 deletions

View File

@@ -924,10 +924,12 @@ static PyObject *C_BVHTree_FromPolygons(PyObject *UNUSED(cls), PyObject *args, P
orig_index, orig_normal);
}
else {
if (coords)
if (coords) {
MEM_freeN(coords);
if (tris)
}
if (tris) {
MEM_freeN(tris);
}
return NULL;
}