From 42a2f2dcf9f090c0bf693bddd947a017ecb6bbd9 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 28 Jun 2010 09:52:18 +0000 Subject: [PATCH] Added skipping of newlines in AsciiStreamOperator.h --- src/osgPlugins/osg/AsciiStreamOperator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgPlugins/osg/AsciiStreamOperator.h b/src/osgPlugins/osg/AsciiStreamOperator.h index ea4217a73..68a684584 100644 --- a/src/osgPlugins/osg/AsciiStreamOperator.h +++ b/src/osgPlugins/osg/AsciiStreamOperator.h @@ -237,7 +237,7 @@ public: _in->get( ch ); checkStream(); // skip white space - while ( ch==' ' ) + while ( ch==' ' || (ch=='\n') || (ch=='\r')) { _in->get( ch ); checkStream(); }