Skip to content
Snippets Groups Projects
Commit 57949f8e authored by Mattijs Janssens's avatar Mattijs Janssens
Browse files

status was not cleared

parent e9d424b7
Branches
Tags
No related merge requests found
......@@ -570,7 +570,9 @@ public:
// region and split them.
autoPtr<mapPolyMesh> dupNonManifoldPoints();
//- Create baffle for every internal face where ownPatch != -1
//- Create baffle for every internal face where ownPatch != -1.
// External faces get repatched according to ownPatch (neiPatch
// should be -1 for these)
autoPtr<mapPolyMesh> createBaffles
(
const labelList& ownPatch,
......
......@@ -233,10 +233,9 @@ void Foam::searchableSphere::findLineAll
{
info.setSize(start.size());
pointIndexHit near, far;
forAll(start, i)
{
pointIndexHit near, far;
findLineAll(start[i], end[i], near, far);
if (near.hit())
......@@ -260,6 +259,10 @@ void Foam::searchableSphere::findLineAll
info[i].setSize(1);
info[i][0] = far;
}
else
{
info[i].clear();
}
}
}
}
......
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