Hi Richard,

On Wed, Mar 24, 2010 at 2:54 PM, Schmidt, Richard
<[email protected]> wrote:
> Hi Robert,
> i am using 2.8.2
>
> The method getParentalNodePaths is used to retrieve the parent node paths.
>
> This is done in the database pager thread. However these node paths might 
> change while traversing them, because the user may change the scenegraph in 
> the update loop.

This case also occurs when the DatabasePager itself expires subgraphs
out from underneath the PagedLOD being server.  One has to set an
aggressive expiry of subgraphs and move the camera very fast between
locations to cause this, with help of a user I was able to reproduce
it reliably.  The new DatabasePager fixes this issue and is very
likely to fix the issue you've been seeing.

Back porting the changes to DatabasePager to the OSG-2.8 branch is
possible, but it does require merging changes to OpenThreads,
osg::Referenced, osg::Observer/observer_ptr<>, introduction of a new
ObserverNodePath class.  The breadth of changes make it risky to merge
with OSG-2.8, so I believe Paul Martz won't be merging these for
2.8.3.

To get access to the fixes you'll need to use 2.9.7 or svn/trunk.

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

Reply via email to