Mesh: Apply clang-format

This commit is contained in:
wmayer
2023-09-22 19:59:39 +02:00
committed by wwmayer
parent 70ba930230
commit 23db389a76
116 changed files with 15683 additions and 12447 deletions

View File

@@ -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;
}