Thanks WeSee, fix merged and submitted to svn/trunk. On 11 May 2015 at 15:09, We See <[email protected]> wrote:
> Hi Robert, > > I found a small bug in osgUtil::RenderStage::draw() (osg 3.3.7), which > crashes osg. The problem was caused by an access to the object _camera > without checking whether the object is valid. So I changed the line: > > > Code: > if (_cameraRequiresSetUp || > (_cameraAttachmentMapModifiedCount!=_camera->getAttachmentMapModifiedCount())) > > > > to > > > Code: > if (_cameraRequiresSetUp || (_camera.valid() && > _cameraAttachmentMapModifiedCount!=_camera->getAttachmentMapModifiedCount())) > > > > The adapted file is attached. > > Thank you! > > Cheers, > WeSee > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=63709#63709 > > > > > Attachments: > http://forum.openscenegraph.org//files/osgutil_renderstage_cpp_202.zip > > > _______________________________________________ > osg-submissions mailing list > [email protected] > > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org >
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
