Hi Brad,

On Mon, Jun 28, 2010 at 9:59 AM, Robert Osfield
<robert.osfi...@gmail.com> wrote:
> Thanks to your example .source I've reproduced the problem now.  I
> have also reviewed you quick fix and don't believe this is
> appropriate, and that it's likely that we'll need to look at the osgDB
> serializers themselves for a fix.  I haven't had a chance to look into
> this yet, but this will be next step.

I have now tracked down the issue to
src/osgPlugins/osg/AsciiStreamOperator.h's readWrappedString
implementation that had support for skipping leading white space, but
not for skipping newlines.  I've added in support for skipping
newlines and now your example .source reads perfectly and without
needing any amendments to VPB.

My changes are now checked into OSG svn/trunk.  The compatibility
fixes required for patching are checked into VPB svn/trunk, so you'll
need to update both to get all the fixes.

Let me know how you get on.

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

Reply via email to