ENH: treeDataPrimitivePatch: skip surplus test

This commit is contained in:
mattijs
2017-02-15 12:58:53 +00:00
parent 47b48217ba
commit 48eb1aee84

View File

@ -532,7 +532,7 @@ bool Foam::treeDataPrimitivePatch<PatchType>::findAllIntersectOp::operator()
point& intersectionPoint point& intersectionPoint
) const ) const
{ {
if (!shapeMask_.empty() && findIndex(shapeMask_, index) != -1) if (findIndex(shapeMask_, index) != -1)
{ {
return false; return false;
} }