[osg-submissions] Fix read of LineStipple pattern in osgdb_osg plugin

Robert Osfield robert.osfield at gmail.com
Tue May 27 03:05:43 PDT 2008


Thanks Andrew, fix now merged and submitted to SVN.

On Mon, May 26, 2008 at 11:35 AM, Andrew Bettison <andrewb at acres.com.au> wrote:
> Problem: the LineStipple pattern when read from an OSG node file is always
> 0xFFFF, even though specified otherwise in the OSG file.
>
> Cause: possibly a copy/paste typo in src/osgPlugins/osg/LineStipple.cc, line
> 61:
>   if (fr[0].matchWord("functionMask") && fr[1].getUInt(mask))
>
> Solution: change to:
>   if (fr[0].matchWord("pattern") && fr[1].getUInt(mask))
>
>
> _______________________________________________
> osg-submissions mailing list
> osg-submissions at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>


More information about the osg-submissions mailing list