Added missing _nodePath.clear() and _segHitList.clear() to InteresectVisitor::reset().
This commit is contained in:
@@ -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();
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user