changes in Mesh module:

+ cppcheck: fix some minor issues found by code analyzer
+ export to IDTF
+ fix for throwing exception
+ optimize mesh rendering
This commit is contained in:
wmayer
2017-11-08 17:56:13 +01:00
parent 547af2f5b2
commit def0b81784
15 changed files with 508 additions and 17 deletions

View File

@@ -596,12 +596,16 @@ void MeshObject::addMesh(const MeshCore::MeshKernel& kernel)
void MeshObject::deleteFacets(const std::vector<unsigned long>& removeIndices)
{
if (removeIndices.empty())
return;
_kernel.DeleteFacets(removeIndices);
deletedFacets(removeIndices);
}
void MeshObject::deletePoints(const std::vector<unsigned long>& removeIndices)
{
if (removeIndices.empty())
return;
_kernel.DeletePoints(removeIndices);
this->_segments.clear();
}