Points: PR6497 move return statement to new line

This commit is contained in:
Chris Hennes
2022-03-29 12:38:24 -05:00
parent 5f31fb74f6
commit bac451cc53

View File

@@ -55,7 +55,8 @@ int PointsPy::PyInit(PyObject* args, PyObject* /*kwd*/)
return -1;
// if no mesh is given
if (!pcObj) return 0;
if (!pcObj)
return 0;
if (PyObject_TypeCheck(pcObj, &(PointsPy::Type))) {
*getPointKernelPtr() = *(static_cast<PointsPy*>(pcObj)->getPointKernelPtr());
}