Hi Mario,
On 8/22/07, Mario Valle <[EMAIL PROTECTED]> wrote:
> Your proposed change solved one of the problems I had at osgviewerFOX exit.
> The change was in FOX_OSG_MDIView.cpp line 60
> FOX_OSG_MDIView::~FOX_OSG_MDIView()
> {
> getApp()->removeChore(this,ID_CHORE); // added
> }
> Could it be added to SVN?
Please post the complete changed file to osg-submissions, this way we
can be sure not to loose it or make mistakes in review/merge.
> Now I have a hang in the same example try to exit with ESC when stats are
> active. But I
> start another thread on this.
A quick solution to this might be just to deactivate the escape sets
done on the viewer. The proper solution is for the Fox code to pick
up on the done flag and close the associated window/viewer.
// to disable the escape sets done just set the key to 0.
viewer.setKeyEventSetsDone(0);
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org