Ran script to remove trailing spaces and tabs
This commit is contained in:
@@ -24,7 +24,7 @@ static bool readMode( osgDB::InputStream& is, osg::PolygonMode& attr )
|
||||
is >> osgDB::PROPERTY("UseFrontAndBack") >> frontAndBack;
|
||||
is >> osgDB::PROPERTY("Front"); int value1 = readModeValue(is);
|
||||
is >> osgDB::PROPERTY("Back"); int value2 = readModeValue(is);
|
||||
|
||||
|
||||
if ( frontAndBack )
|
||||
attr.setMode( osg::PolygonMode::FRONT_AND_BACK, (osg::PolygonMode::Mode)value1 );
|
||||
else
|
||||
@@ -38,11 +38,11 @@ static bool readMode( osgDB::InputStream& is, osg::PolygonMode& attr )
|
||||
static bool writeMode( osgDB::OutputStream& os, const osg::PolygonMode& attr )
|
||||
{
|
||||
os << osgDB::PROPERTY("UseFrontAndBack") << attr.getFrontAndBack() << std::endl;
|
||||
|
||||
|
||||
os << osgDB::PROPERTY("Front");
|
||||
writeModeValue( os, (int)attr.getMode(osg::PolygonMode::FRONT) );
|
||||
os << std::endl;
|
||||
|
||||
|
||||
os << osgDB::PROPERTY("Back");
|
||||
writeModeValue( os, (int)attr.getMode(osg::PolygonMode::BACK) );
|
||||
os << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user