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().
"
This commit is contained in:
Robert Osfield 2010-06-09 10:01:25 +00:00
parent 5ea4a8c0f3
commit d555e727ef

View File

@ -735,6 +735,7 @@ public:
{ {
os << (*itr); os << (*itr);
} }
os << std::endl;
os << END_BRACKET << std::endl; os << END_BRACKET << std::endl;
} }
return true; return true;