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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user