Added missing _nodePath.clear() and _segHitList.clear() to InteresectVisitor::reset().

This commit is contained in:
Robert Osfield
2002-08-02 15:14:59 +00:00
parent 1adc4992ff
commit e1a6a18036

View File

@@ -155,9 +155,10 @@ void IntersectVisitor::reset()
_intersectStateStack.clear();
// create a empty IntersectState on the the intersectStateStack.
IntersectState* nis = osgNew IntersectState;
_intersectStateStack.push_back(osgNew IntersectState);
_intersectStateStack.push_back(nis);
_nodePath.clear();
_segHitList.clear();
}