BUG: sampledCuttingPlane: compaction of triangle maps

This commit is contained in:
mattijs
2013-06-27 14:23:59 +01:00
parent 47213b4020
commit 98fb5e634a

View File

@ -1077,7 +1077,7 @@ Foam::triSurface Foam::isoSurface::stitchTriPoints
{
// There is no (higher numbered) duplicate triangle
label newTriI = newToOldTri.size();
newToOldTri.append(triI);
newToOldTri.append(triMap[triI]);
tris[newTriI] = tris[triI];
}
}