App: Apply clang format (part 1)
This commit is contained in:
@@ -32,10 +32,10 @@ using namespace App;
|
||||
PROPERTY_SOURCE(App::InventorObject, App::GeoFeature)
|
||||
|
||||
|
||||
InventorObject::InventorObject()
|
||||
InventorObject::InventorObject()
|
||||
{
|
||||
ADD_PROPERTY_TYPE(Buffer,(""),"",Prop_None,"String buffer with a scene graph");
|
||||
ADD_PROPERTY_TYPE(FileName,(""),"",Prop_None,"Path to an Inventor file");
|
||||
ADD_PROPERTY_TYPE(Buffer, (""), "", Prop_None, "String buffer with a scene graph");
|
||||
ADD_PROPERTY_TYPE(FileName, (""), "", Prop_None, "Path to an Inventor file");
|
||||
}
|
||||
|
||||
InventorObject::~InventorObject() = default;
|
||||
@@ -45,11 +45,11 @@ short InventorObject::mustExecute() const
|
||||
return 0;
|
||||
}
|
||||
|
||||
PyObject *InventorObject::getPyObject()
|
||||
PyObject* InventorObject::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);
|
||||
return Py::new_reference_to(PythonObject);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user