Skip to content
Browse files

Fixed nested callback calling.

git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14264 16af8721-9629-0410-8352-f15c8da7e697
  • Loading branch information...
1 parent aff58b8 commit ac1752ccbbe213047549e5d5c71739a89eb8d39b Robert OSFIELD committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/osg/Callback.cpp
View
2 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

0 comments on commit ac1752c

Please sign in to comment.
Something went wrong with that request. Please try again.