From bac451cc537be8beb4826c89fd4429ca73e69f4d Mon Sep 17 00:00:00 2001 From: Chris Hennes Date: Tue, 29 Mar 2022 12:38:24 -0500 Subject: [PATCH] Points: PR6497 move return statement to new line --- src/Mod/Points/App/PointsPyImp.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Mod/Points/App/PointsPyImp.cpp b/src/Mod/Points/App/PointsPyImp.cpp index f26f20310d..18f60b36c2 100644 --- a/src/Mod/Points/App/PointsPyImp.cpp +++ b/src/Mod/Points/App/PointsPyImp.cpp @@ -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(pcObj)->getPointKernelPtr()); }