Added a os<<std::endl; to work around a problem with the ascii serializers doing a negative seek that eats characters

This commit is contained in:
Robert Osfield 2010-07-26 08:41:05 +00:00
parent 90ec036c0e
commit 5d163b8248

View File

@ -72,7 +72,10 @@ static bool readTileLoadedCallback( osgDB::InputStream& is, osgTerrain::TerrainT
}
static bool writeTileLoadedCallback( osgDB::OutputStream& os, const osgTerrain::TerrainTile& tile )
{ return true; }
{
os<<std::endl;
return true;
}
REGISTER_OBJECT_WRAPPER( osgTerrain_TerrainTile,
new osgTerrain::TerrainTile,