Re: [osg-users] Memory leak with PrimitiveSets who stay alive

2015-06-25 Thread Robert Osfield
Hi Christian, I can't spot a problem with a quick read through, copy and paste code in isolation isn't sufficient to spot what might be wrong. As a general note the OSG ref counting is extremely robust, hammered by many thousands of developers in over a decade of it's existence, it's unlikely

[osg-users] Memory leak with PrimitiveSets who stay alive

2015-06-25 Thread Christian Kunz
Hi everyone, I have a big memory leak in my application. Generally I have n Spheres I put in my scene. When I add a Sphere a Drawable is added to the scene, when I remove it, it disapears. So the ref_ptr system is working good here. Now I want to connect all the Spheres with