diff --git a/Applications/Utils/MeshEdit/MoveMesh.cpp b/Applications/Utils/MeshEdit/MoveMesh.cpp index 95a83eb023797685b8fbf5a649fef67521cc464d..879994d08dc4d7f06d8613c2350d478bfcd289fc 100644 --- a/Applications/Utils/MeshEdit/MoveMesh.cpp +++ b/Applications/Utils/MeshEdit/MoveMesh.cpp @@ -81,11 +81,12 @@ int main(int argc, char *argv[]) displacement[2] = z_arg.getValue(); } - INFO("translate model (%f, %f, %f).", displacement[0], displacement[1], displacement[2]); + INFO("translate model (%f, %f, %f).", + displacement[0], + displacement[1], + displacement[2]); MeshLib::moveMeshNodes( - mesh->getNodes().begin(), - mesh->getNodes().end(), - displacement); + mesh->getNodes().begin(), mesh->getNodes().end(), displacement); std::string out_fname(mesh_out_arg.getValue()); if (out_fname.empty()) { diff --git a/Applications/Utils/MeshEdit/checkMesh.cpp b/Applications/Utils/MeshEdit/checkMesh.cpp index 0769262fd9d2f3ad398e5e2713bd5dc950bd9bc3..5b56d0df4ee9ea0750469e835663af64ceb65af8 100644 --- a/Applications/Utils/MeshEdit/checkMesh.cpp +++ b/Applications/Utils/MeshEdit/checkMesh.cpp @@ -99,9 +99,9 @@ int main(int argc, char *argv[]) } if (valid_arg.isSet()) { - // Validation - MeshLib::MeshValidation validation(*const_cast<MeshLib::Mesh*>(mesh)); // MeshValidation outputs error messages - /* Remark: MeshValidation can modify the original mesh */ + // MeshValidation outputs error messages + // Remark: MeshValidation can modify the original mesh + MeshLib::MeshValidation validation(*mesh); unsigned const n_holes (MeshLib::MeshValidation::detectHoles(*mesh)); if (n_holes > 0)