mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 01:58:35 +05:00
PR: bug in compactGrid with polyhedrons
This commit is contained in:
parent
0d10253e8d
commit
5927f96360
@ -320,7 +320,7 @@ void SMDS_UnstructuredGrid::compactGrid(std::vector<int>& idNodesOldToNew, int n
|
||||
newFaces->Allocate(this->Faces->GetSize());
|
||||
for (int i = 0; i < oldCellSize; i++)
|
||||
{
|
||||
if (newTypes->GetValue(i) == VTK_EMPTY_CELL)
|
||||
if (this->Types->GetValue(i) == VTK_EMPTY_CELL)
|
||||
continue;
|
||||
int newCellId = idCellsOldToNew[i];
|
||||
if (newTypes->GetValue(newCellId) == VTK_POLYHEDRON)
|
||||
|
Loading…
Reference in New Issue
Block a user