Thanks, fix now merged and submitted to svn/trunk.

On Thu, Apr 14, 2011 at 1:23 PM, Cedric Pinson
<[email protected]> wrote:
> Hi,
>
> I have tried some model that produces crashes in the dae plugin because
> of empty node:
>
> if (GetFloat4Param(cot->getParam()->getRef(), f4)) {...}
>
> in the model I have tested cot->getParam()->getRef() return 0x0 and make
> it crahes inside GetFloat4Param.
>
> I have added a test before calling GetFloat4Param
> if (cot->getParam()->getRef() != 0 &&
> GetFloat4Param(cot->getParam()->getRef(), f4)) {...}
>
>
> Cheers,
> Cedric
>
>
> --
> Provide OpenGL, WebGL and OpenSceneGraph services
> +33 659 598 614 Cedric Pinson mailto:[email protected]
> http://plopbyte.com
>
>
> _______________________________________________
> 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

Reply via email to