Hi Robert, rev 13092 is a change in osgViewer::Viewer only. Your comment was :
Moved the frame() event into the event traversal after then events and their state have been accumulated. In the end, this whole block disappeared : if (_eventQueue.valid()) { osgGA::GUIEventAdapter* eventState = getEventQueue()->getCurrentEventState(); if (getCamera()->getViewport()) { osg::Viewport* viewport = getCamera()->getViewport(); eventState->setInputRange( viewport->x(), viewport->y(), viewport->x() + viewport->width(), viewport->y() + viewport->height()); } else { eventState->setInputRange(-1.0, -1.0, 1.0, 1.0); } _eventQueue->frame( getFrameStamp()->getReferenceTime() ); } Any hint why this block should have to be removed ? Does it means it has to be done at the application level ? Regards, -Fred ----- Mail original ----- De: Robert Osfield Hi Frederic, I've applied your fix to the CMakeLists.txt and installed FLTK on my system and see the error with the camera manipulator. My guess there is scale issue with the window coordinates and probably something is missing from the example that should be passing on parameters to osgViewer. I have plenty of others tasks on my plate so I'll defer to others for tracking down this issue. Cheers, Robert. On 6 September 2012 09:27, Frederic Bouvier <fredlis...@free.fr> wrote: > Hi Robert, > > I was reported a problem in fgrun (the flightgear launcher) where camera > manipulation in the aircraft viewer is broken using OSG trunk, on Linux, but > I was able to reproduce it on Windows too. This video explain the problem : > http://youtu.be/xN1hTGte1EM > > After bisecting, I found that revision 13092 was the culprit. Then I managed > to reproduce the problem using osgViewerFLTK. I had to make this change in > order to generate the makefile BTW : > > > Index: examples/CMakeLists.txt > =================================================================== > --- examples/CMakeLists.txt (revision 13092) > +++ examples/CMakeLists.txt (working copy) > @@ -216,7 +216,7 @@ > > ENDIF() > > - IF (FLTK_FOUND AND FT_GL_LIBRARY) > + IF (FLTK_FOUND AND FLTK_GL_LIBRARY) > ADD_SUBDIRECTORY(osgviewerFLTK) > ENDIF() > > > > I compared the behaviour with the one in osgViewerGLUT that works, but wasn't > able to detect a significant difference. > > Regards, > -Fred > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org