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

@@ -34,7 +34,7 @@ void Text3D::write(DataOutputStream* out){
}
else
out_THROW_EXCEPTION("Text::write(): Could not cast this osgText::Text to an osg::Drawable.");
// Write Text's properties.
if( getFont() )
{
@@ -64,9 +64,9 @@ void Text3D::write(DataOutputStream* out){
out->writeUInt(getCharacterSizeMode());
out->writeFloat(getMaximumWidth());
out->writeFloat(getMaximumHeight());
out->writeFloat(getLineSpacing());
out->writeUInt(getAlignment());
out->writeQuat(getRotation()); //FIXME: controllare che ci sia
@@ -104,7 +104,7 @@ void Text3D::write(DataOutputStream* out){
}
//std::copy(textstring.begin(),textstring.end(),std::back_inserter(str));
out->writeBool(true);
out->writeString(str);
}
@@ -112,7 +112,7 @@ void Text3D::write(DataOutputStream* out){
{
// do it the hardway...output each character as an int
osg::ref_ptr<osg::UIntArray> strarr = new osg::UIntArray(textstring.size());
for(itr=textstring.begin();
itr!=textstring.end();
++itr)