Hi Wojtek,

On Fri, Oct 1, 2010 at 1:35 PM, Wojciech Lewandowski
<[email protected]> wrote:
> We located the 11580 revision (Fixed double registration bug) as the moment
> when problem started to appear. This change started running registerPagedLOD
> visitor on loaded child only. In former version visitor was started from the
> parent group PageLOD. As I understand this modification was introduced to
> not double parent PLOD registration but also has the side effect of skiping
> parents not yet registered. So maybe the workaround would be checking if
> parent is not registered already and run visitor from parent if neccessary.

Looking at the code it looks like you'd modify
DatabasePager::addLoadedDataToSceneGraph to check to see if the Group
that the subgraph is being added to is a PagedLOD and if so then add
it, or even perhaps check the parent path for the group (the
refNodePath in addLoadeDataToSceneGraph).

Could you try this and let me know how you get on.

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

Reply via email to