Hi,

Here is the call stack for the crash and the code:
 
[img]CallStack.bmp[/img]


Code:

void RenderStage::draw(osg::RenderInfo& renderInfo,RenderLeaf*& previous)
{
    if (_stageDrawnThisFrame) return;

    // push the stages camera so that drawing code can query it     
    if (_camera) renderInfo.pushCamera(_camera);

    _stageDrawnThisFrame = true;

    if (_camera && _camera->getInitialDrawCallback())
    {
        // if we have a camera with a intial draw callback invoke it.
       [color=red] 
[b](*(_camera->getInitialDrawCallback()))(renderInfo);[/b][/color]    
    }

    // note, SceneView does call to drawPreRenderStages explicitly
    // so there is no need to call it here.
    drawPreRenderStages(renderInfo,previous);
    
    if (_cameraRequiresSetUp)
    {
        runCameraSetUp(renderInfo);
    }
...




Thank you!

Cheers,
Guy[/code]

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



<<attachment: CallStack.bmp>>

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

Reply via email to