Hi all

I'm trying to track down some memory leaks in my application which uses osgPPU. 

I noticed a difference between the following two methods of cascading units:

- When I cascade units through childUnit->setInputToUniform(parentUnit, ...), 
then the units seem to have a object reference that is not correctly unref'd, 
therefore unit is not released.
- When I cascade units through the parentUnit->addChild(childUnit) method, and 
add the texture uniforms in the ShaderAttribute, then everything works 
correctly.

I decided to use the second solution, although I find the first one nicer...
Anybody else observered memory leaks?

Thank you!

Cheers,
Daniel

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=51627#51627





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to