From d555e727ef64b1871350f20251c2ea12007c831b Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 9 Jun 2010 10:01:25 +0000 Subject: [PATCH] From Wang Rui, "Henry and Brendan just found a small bug of the ListSerializer which will cause the writing of osg::Switch incorrectly. The original thread was posted on osg-users. I would like to follow the suggestion of Brendan and add a std::endl before the END_BRACKET in ListSerializer::write(). " --- include/osgDB/Serializer | 1 + 1 file changed, 1 insertion(+) diff --git a/include/osgDB/Serializer b/include/osgDB/Serializer index f6b2d7739..10ca60f89 100644 --- a/include/osgDB/Serializer +++ b/include/osgDB/Serializer @@ -735,6 +735,7 @@ public: { os << (*itr); } + os << std::endl; os << END_BRACKET << std::endl; } return true;