Fix infinite recursion in CTriangleBBSelector caused by my selector rewrite in svn5350.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5353 dfc29bdd-3216-0410-991c-e03cc46cb475
master
cutealien 2016-12-07 13:37:32 +00:00
parent 1073bff853
commit 7ac8d22e27
1 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ void CTriangleBBSelector::getTriangles(core::triangle3df* triangles,
irr::core::array<SCollisionTriangleRange>* outTriangleInfo) const
{
fillTriangles();
return getTriangles(triangles, arraySize, outTriangleCount, box, transform, useNodeTransform, outTriangleInfo);
return CTriangleSelector::getTriangles(triangles, arraySize, outTriangleCount, box, transform, useNodeTransform, outTriangleInfo);
}
void CTriangleBBSelector::getTriangles(core::triangle3df* triangles,
@ -50,7 +50,7 @@ void CTriangleBBSelector::getTriangles(core::triangle3df* triangles,
irr::core::array<SCollisionTriangleRange>* outTriangleInfo) const
{
fillTriangles();
return getTriangles(triangles, arraySize, outTriangleCount, line, transform, useNodeTransform, outTriangleInfo);
return CTriangleSelector::getTriangles(triangles, arraySize, outTriangleCount, line, transform, useNodeTransform, outTriangleInfo);
}
void CTriangleBBSelector::fillTriangles() const