Hi Robert,

Sorry for not being very precise. I also tried osg::ref_ptr<>. Now, the code
looks like this:

osg::ref_ptr<osg::Vec3Array> m_geom;

*m_geom = (osg::Vec3Array*) ((dynamic_cast<osg::Vec3Array*>**
(m_NewGeom)->clone(osg::CopyOp::DEEP_COPY_ARRAYS)));


the memory grows and grows...

Thank you,

Amujika
*
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to