Commit 6b75f720 authored by Mike Kremer's avatar Mike Kremer

Generally allow non-manifold configurations.

git-svn-id: http://www.openvolumemesh.org/svnrepo/OpenVolumeMesh/trunk@227 66977474-1d4b-4f09-8fe9-267525286df2
parent 56d5ce57
......@@ -428,9 +428,8 @@ CellHandle TopologyKernel::add_cell(const std::vector<HalfFaceHandle>& _halfface
assert(incident_cell_per_hf_.size() > (unsigned int)it->idx());
if(_topologyCheck) {
assert(incident_cell_per_hf_[it->idx()] == InvalidCellHandle);
if(incident_cell_per_hf_[it->idx()] != InvalidCellHandle) {
std::cerr << "Warning: One of the specified half-face is already incident to another cell!" << std::endl;
std::cerr << "Warning: One of the specified half-faces is already incident to another cell!" << std::endl;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment