Hi Robert,

I have done some regression testing on the OSG demos. All seemed fine at first, 
until I happened on a crash in osgshadow. collateReferencesToDependentCameras() 
is crashing. I tried fixing it by moving the collate to the cull thread, but 
the crash is still there. Will investigate further...

By the way:

Code:

void RenderStage::clearReferencesToDependentCameras()
{
    for(RenderStageList::iterator itr = _preRenderList.begin();
        itr != _preRenderList.end();
        ++itr)
    {
        itr->second->collateReferencesToDependentCameras();
    }

    for(RenderStageList::iterator itr = _postRenderList.begin();
        itr != _postRenderList.end();
        ++itr)
    {
        itr->second->collateReferencesToDependentCameras();
    }

    _dependentCameras.clear();
}




I think that's a typo, should be itr->second->clearReferencesToDependentCameras.

Cheers,
Jannik

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





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

Reply via email to