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/osgDB/ReaderWriter.cpp

    r10543 r13041  
    1 /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield  
     1/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield 
    22 * 
    3  * This library is open source and may be redistributed and/or modified under   
    4  * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or  
     3 * This library is open source and may be redistributed and/or modified under 
     4 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or 
    55 * (at your option) any later version.  The full license is in LICENSE file 
    66 * included with this distribution, and on the openscenegraph.org website. 
    7  *  
     7 * 
    88 * This library is distributed in the hope that it will be useful, 
    99 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  
     10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    1111 * OpenSceneGraph Public License for more details. 
    1212*/ 
     
    4343    std::string lowercase_ext = convertToLowerCase(extension); 
    4444    if (_supportedExtensions.count(lowercase_ext)!=0) return true; 
    45      
     45 
    4646    // if plugin supports wildcard extension then passthrough all types 
    4747    return (_supportedExtensions.count("*")!=0); 
     
    9696    } FeatureStringList; 
    9797 
    98     FeatureStringList list[] = {  
     98    FeatureStringList list[] = { 
    9999        { FEATURE_READ_OBJECT, "readObject" }, 
    100         { FEATURE_READ_IMAGE,  "readImage" },         
     100        { FEATURE_READ_IMAGE,  "readImage" }, 
    101101        { FEATURE_READ_HEIGHT_FIELD, "readHeightField" }, 
    102         { FEATURE_READ_NODE, "readNode" },           
    103         { FEATURE_READ_SHADER, "readShader" },         
     102        { FEATURE_READ_NODE, "readNode" }, 
     103        { FEATURE_READ_SHADER, "readShader" }, 
    104104        { FEATURE_WRITE_OBJECT, "writeObject" }, 
    105         { FEATURE_WRITE_IMAGE, "writeImage" },         
     105        { FEATURE_WRITE_IMAGE, "writeImage" }, 
    106106        { FEATURE_WRITE_HEIGHT_FIELD, "writeHeightField" }, 
    107         { FEATURE_WRITE_NODE, "writeNode" },          
     107        { FEATURE_WRITE_NODE, "writeNode" }, 
    108108        { FEATURE_WRITE_SHADER, "writeShader" }, 
    109109        { FEATURE_NONE,0 } 
    110110    }; 
    111111 
    112     FeatureList result;  
    113      
     112    FeatureList result; 
     113 
    114114    for(FeatureStringList *p=list; p->feature != 0; p++) 
    115115    {