Ran script to remove trailing spaces and tabs

This commit is contained in:
Robert Osfield
2012-03-21 17:36:20 +00:00
parent 1e35f8975d
commit 14a563dc9f
1495 changed files with 21873 additions and 21873 deletions

View File

@@ -35,16 +35,16 @@ void Object::write(DataOutputStream* out)
case(osg::Object::DYNAMIC): out->writeChar((char)1); break;
case(osg::Object::UNSPECIFIED): out->writeChar((char)2); break;
}
if ( out->getVersion() >= VERSION_0031)
{
const osg::Object* object = dynamic_cast<const osg::Object*>(getUserData());
if (object)
if (object)
{
out->writeBool(true);
out->writeObject(object);
}
else
else
{
out->writeBool(false);
}