Skip to content

Commit

Permalink
From Riccardo Corsi, Added passing of EventVisitor pointer to event h…
Browse files Browse the repository at this point in the history
…andlers.
  • Loading branch information
robertosfield committed Feb 20, 2012
1 parent f3b5dee commit 6b27289
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/osgViewer/CompositeViewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,7 @@ void CompositeViewer::eventTraversal()
hitr != view->getEventHandlers().end();
++hitr)
{
(*hitr)->handleWithCheckAgainstIgnoreHandledEventsMask( *event, *view, 0, 0);
(*hitr)->handleWithCheckAgainstIgnoreHandledEventsMask( *event, *view, 0, _eventVisitor);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/osgViewer/Viewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,7 @@ void Viewer::eventTraversal()
hitr != _eventHandlers.end();
++hitr)
{
(*hitr)->handleWithCheckAgainstIgnoreHandledEventsMask( *event, *this, 0, 0);
(*hitr)->handleWithCheckAgainstIgnoreHandledEventsMask( *event, *this, 0, _eventVisitor);
}

}
Expand Down

0 comments on commit 6b27289

Please sign in to comment.