Show
Ignore:
Timestamp:
03/21/12 18:36:20 (3 years ago)
Author:
robert
Message:

Ran script to remove trailing spaces and tabs

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgPlugins/ive/Text.cpp

    r10762 r13041  
    3434    else 
    3535        out_THROW_EXCEPTION("Text::write(): Could not cast this osgText::Text to an osg::Drawable."); 
    36      
     36 
    3737    // Write Text's properties. 
    3838    if( getFont() ) 
     
    6464    out->writeFloat(getMaximumWidth()); 
    6565    out->writeFloat(getMaximumHeight()); 
    66      
     66 
    6767    out->writeFloat(getLineSpacing()); 
    68      
     68 
    6969    out->writeUInt(getAlignment()); 
    7070 
     
    123123 
    124124        //std::copy(textstring.begin(),textstring.end(),std::back_inserter(str)); 
    125          
     125 
    126126        out->writeBool(true); 
    127127        out->writeString(str); 
     
    131131        // do it the hardway...output each character as an int 
    132132        osg::ref_ptr<osg::UIntArray> strarr = new osg::UIntArray(textstring.size()); 
    133          
     133 
    134134        for(itr=textstring.begin(); 
    135135            itr!=textstring.end(); 
     
    216216        setColorGradientMode((osgText::Text::ColorGradientMode) in->readUInt()); 
    217217 
    218         osg::Vec4 colorGradientTopLeft,colorGradientBottomLeft,colorGradientBottomRight,colorGradientTopRight;  
     218        osg::Vec4 colorGradientTopLeft,colorGradientBottomLeft,colorGradientBottomRight,colorGradientTopRight; 
    219219        colorGradientTopLeft = in->readVec4(); 
    220220        colorGradientBottomLeft = in->readVec4();