fix loop in mesh compress

This commit is contained in:
Christopher Lackner 2019-08-08 11:03:19 +02:00
parent e8960ebae1
commit 70a7a1239e

View File

@ -3270,12 +3270,8 @@ namespace netgen
for (int i = 0; i < surfelements.Size(); i++)
if (surfelements[i].IsDeleted())
{
surfelements[i] = surfelements.Last();
surfelements.DeleteLast();
/*
surfelements.Delete(i);
surfelements.DeleteElement(i);
i--;
*/
}
for (int i = 0; i < segments.Size(); i++)