Fem: Apply clang-format
This commit is contained in:
@@ -22,8 +22,8 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#include <App/DocumentObjectPy.h>
|
||||
#include "FemSetGeometryObject.h"
|
||||
#include <App/DocumentObjectPy.h>
|
||||
|
||||
|
||||
using namespace Fem;
|
||||
@@ -41,12 +41,11 @@ short FemSetGeometryObject::mustExecute() const
|
||||
return 0;
|
||||
}
|
||||
|
||||
PyObject *FemSetGeometryObject::getPyObject()
|
||||
PyObject* FemSetGeometryObject::getPyObject()
|
||||
{
|
||||
if (PythonObject.is(Py::_None())){
|
||||
if (PythonObject.is(Py::_None())) {
|
||||
// ref counter is set to 1
|
||||
PythonObject = Py::Object(new DocumentObjectPy(this),true);
|
||||
PythonObject = Py::Object(new DocumentObjectPy(this), true);
|
||||
}
|
||||
return Py::new_reference_to(PythonObject);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user