Re: [osg-users] CompositeViewer remove View with Eventhandler crash

2008-02-15 Thread Robert Osfield
Hi Steve, On quick review of your email it seems like you event handler is deleting itself when the view its associated with is deleted, and also invalidating the iterator the CompositeViewer is using. The way to fix this is to avoid deleting the view within the callback, by doing the delete in

Re: [osg-users] CompositeViewer remove View with Eventhandler crash

2008-02-14 Thread Steve Schneider
Well I thought I'd post my conclusions on the off chance that someone else wants to build a user interface with OSG, AND is as ignorant as I am about OpenGL and 3D graphics. Let's start off by saying that OSG is a low-level graphics package - quite a good one in my opinion. The expertise

[osg-users] CompositeViewer remove View with Eventhandler crash

2008-02-06 Thread Steve Schneider
Compositeview: Two views. Big View and Little View. Big View is loaded with the image of a Cessna going down in flames with the example 'Scribe' event handler. Little View is the beginnings of a user interface. So based on a pick - another view is created, populated and an