add boolean parameter to MeshKernel::AddFacets to disable check for manifold edges of new faces

This commit is contained in:
wmayer
2017-03-02 22:33:38 +01:00
parent f55bf254b0
commit 1a2d40f968
9 changed files with 48 additions and 21 deletions

View File

@@ -1609,7 +1609,7 @@ void ViewProviderMesh::fillHole(unsigned long uFacet)
//add the facets to the mesh and open a transaction object for the undo/redo stuff
Gui::Application::Instance->activeDocument()->openCommand("Fill hole");
Mesh::MeshObject* kernel = fea->Mesh.startEditing();
kernel->addFacets(newFacets, newPoints);
kernel->addFacets(newFacets, newPoints, true);
fea->Mesh.finishEditing();
Gui::Application::Instance->activeDocument()->commitCommand();
}