Fixed nested callback calling.

git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14264 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
Robert Osfield 2014-06-23 12:02:41 +00:00
parent c6ab14018a
commit 4ec4e88f85

View File

@ -22,7 +22,7 @@ using namespace osg;
// //
bool Callback::traverse(Object* object, Object* data) bool Callback::traverse(Object* object, Object* data)
{ {
if (_nestedCallback.valid()) return run(object, data); if (_nestedCallback.valid()) return _nestedCallback->run(object, data);
else else
{ {
#if 1 #if 1