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-e03cc46cb475master
parent
1073bff853
commit
7ac8d22e27
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue