diff --git a/src/osg/Callback.cpp b/src/osg/Callback.cpp index e6711cca0..fa9a8db66 100644 --- a/src/osg/Callback.cpp +++ b/src/osg/Callback.cpp @@ -22,7 +22,7 @@ using namespace osg; // bool Callback::traverse(Object* object, Object* data) { - if (_nestedCallback.valid()) return run(object, data); + if (_nestedCallback.valid()) return _nestedCallback->run(object, data); else { #if 1