Skip to content
Snippets Groups Projects
Commit b8c7112e authored by mattijs's avatar mattijs
Browse files

reset triangle counter to 0 before usage

parent 648e485e
No related merge requests found
......@@ -918,7 +918,7 @@ Foam::label Foam::MeshedSurface<Face>::triangulate
// 'face' not '<Face>'
const face& f = faceLst[faceI];
label nTmp;
label nTmp = 0;
f.triangles(this->points(), nTmp, tmpTri);
for (label triI = 0; triI < nTmp; triI++)
{
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment