Hi Robert,

Ok, I see the problem. If I get the time later today I will look into the code in depth.

/Ola


On Tue, 21 Aug 2012 20:43:44 +0200, Robert Osfield <robert.osfi...@gmail.com> wrote:

Hi Ola et. al,

I've looked at the problem Terrain containers and they present an
interesting issue - the std::set<TerrainTile*> that is used can't
easily be converted into an std::set< osg::observer_ptr<TerrainTile> >
as the observer_ptr<> can have it's value changed to NULL by another
thread when destructing the observed TerrainTile and std::set<>
require their values to be const.

What will be required is a custom container of osg::oberserver_ptr<>
along the lines of osg::OberservedNodePath but written to manage it's
contents in a similar way to a std::set.

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


--
Using Opera's revolutionary email client: http://www.opera.com/mail/
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to