thanks stepahn for your answer

i´ve replaced all the osgViewers by osgViews, but the problem is still there, 
the databasepageloader goes away anytime we call the removeview method of the 
composite viewer.

anyway, cloning the databasepageloader and then assigning it to the rest of the 
views is working fine... maybe it´s not the best way, but it works and we are 
under a lot of time pressure now.

what i find interesting is that there is no need to use the viewer for our 
application, the view does the same thing for us. Our team hopes that there 
will not be so much time pressure in 2-3 weeks and then i´ll test it deeply to 
see if i can get rid of this little tricky method of cloning the dbpl using 
views instead of viewers

thanks again for the reply
cheers

> Date: Wed, 7 Nov 2007 17:55:13 +0100
> From: [EMAIL PROTECTED]
> To: osg-users@lists.openscenegraph.org
> Subject: Re: [osg-users] databasepageloader and composite viewer
> 
> David _ schrieb:
> > Hi Robert,
> >
> > i´ll explaing the process we´re following and maybe you can see if we´re 
> > doing something wrong
> >
> > we´re using wxwidgets to manage the windows system which is composed by a 
> > MDI parent frame and many MDI child frames which all share the same parent 
> > frame.
> >
> > each MDI child frame (which is itself a new window) has it´s own openGL 
> > canvas and it´s own osgViewer. We also have one global compositeViewer for 
> > the whole application.
> >   
> Do I understnad you correctly that you add osgViewer::Viewer-objects to 
> a CompositeViewer? To my understanding osgViewer::Viewer and 
> osgVIewer::CompositeViewer should not be used mixed. This will explain 
> your problems, because in the d'tor of osgViewer::Viewer the 
> DatabasePager is destroyed explicitely.
> 
> Why don't you use osgViewer::View for your views, then your problems 
> should go away, and no more interfering between the two 
> viewer-implementations should occur.
> 
> Cheers,
> Stephan
> 
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to