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:
parent
5ea4a8c0f3
commit
d555e727ef
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user