Hi Robert,

as is defined like:

osg::BoundingBox computeScenePolytopeBounds( const osg::Matrix & m =
*(osg::Matrix*)(NULL));

when using it without passing a matrix it causes crash with g++ on OS X
(Windows and Linux are fine).

Here is the proposed fix

osg::BoundingBox computeScenePolytopeBounds( const osg::Matrix & m =
osg::Matrix::identity() );

In the implementation it wont matter since when the matrix reference "is
not NULL reference" is multiplying vertices with it

What do you think?

Nick

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

Reply via email to