Re: [osg-users] CompositeViewer-addView/removeView problem

2009-08-25 Thread Robert Osfield
Hi Jimmy, On Tue, Aug 25, 2009 at 6:55 AM, Jimmy Lindummy...@gmail.com wrote: I just found out when I create graphic context, if I don't set inheritedWindowData for the trait, then everything is ok. but if I use window form control's handle as inheritedWindowData and repeatly

Re: [osg-users] CompositeViewer-addView/removeView problem

2009-08-24 Thread Jimmy Lin
Hi, I just found out when I create graphic context, if I don't set inheritedWindowData for the trait, then everything is ok. but if I use window form control's handle as inheritedWindowData and repeatly addView/removeView 20~30 times, then I start to have memory leak. problem. Does anyone

[osg-users] CompositeViewer-addView/removeView problem

2009-08-23 Thread Jimmy Lin
Hi, I am using CompositeViewer in my app to have multiple view. I create a new camera/view/graphic context ...etc every time a user created a window(view) and add the osgViewer::View to CompositeViewer. And remove the view from CompositeViewer if user close the window. (I didn't delete the