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/pnm/ReaderWriterPNM.cpp

    r12656 r13041  
    224224            supportsExtension("pbm","PNM Image format"); 
    225225        } 
    226          
     226 
    227227        virtual const char* className() const { return "PNM Image Reader/Writer"; } 
    228228 
     
    418418            else 
    419419            { 
    420                 // binary ppm format         
     420                // binary ppm format 
    421421                fout<<"P6"<<std::endl; 
    422422                fout<<image.s()<<" "<<image.t()<<std::endl; 
     
    441441            std::string ext = osgDB::getFileExtension(fileName); 
    442442            if ( !osgDB::equalCaseInsensitive(ext, "ppm") ) return WriteResult::FILE_NOT_HANDLED; 
    443              
     443 
    444444            // only support rgb images right now. 
    445445            if (image.getPixelFormat()!=GL_RGB || image.getDataType()!=GL_UNSIGNED_BYTE) return WriteResult("Error image pixel format not supported by pnm writer.");