Mesh: Apply clang-format
This commit is contained in:
@@ -31,18 +31,20 @@ using namespace MeshCore;
|
||||
PROPERTY_SOURCE(Mesh::Import, Mesh::Feature)
|
||||
|
||||
|
||||
Mesh::Import::Import() {
|
||||
Mesh::Import::Import()
|
||||
{
|
||||
ADD_PROPERTY(FileName, (""));
|
||||
}
|
||||
|
||||
short Mesh::Import::mustExecute() const
|
||||
{
|
||||
if (FileName.isTouched())
|
||||
if (FileName.isTouched()) {
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
App::DocumentObjectExecReturn *Mesh::Import::execute()
|
||||
App::DocumentObjectExecReturn* Mesh::Import::execute()
|
||||
{
|
||||
std::unique_ptr<MeshObject> apcKernel(new MeshObject());
|
||||
apcKernel->load(FileName.getValue());
|
||||
@@ -50,4 +52,3 @@ App::DocumentObjectExecReturn *Mesh::Import::execute()
|
||||
|
||||
return App::DocumentObject::StdReturn;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user