I found a workaround to my problems, my thanks to Jeremy for pointing a few
things out.

If I make the following setting:
  camera->setAllowEventFocus(false);


Then in Viewer::eventTraversal()  this will avoid   setCameraWithFocus(camera);
code.

As to the reasoning of why there is separate handling for this case in OSG, I
don't know. It's certainly an issue that can come up in osgWidget sometime in
the future.

- Andrew


_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to