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

Ran script to remove trailing spaces and tabs

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgSim/MultiSwitch.cpp

    r11961 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*/ 
     
    3636    if (nv.getTraversalMode()==osg::NodeVisitor::TRAVERSE_ACTIVE_CHILDREN) 
    3737    { 
    38      
     38 
    3939        if (_activeSwitchSet<_values.size()) 
    4040        { 
     
    9191        } 
    9292 
    93          
     93 
    9494        return true; 
    9595    } 
     
    102102    unsigned int pos=getChildIndex(child); 
    103103    if (pos==_children.size()) return false; 
    104      
     104 
    105105    for(SwitchSetList::iterator itr=_values.begin(); 
    106106        itr!=_values.end(); 
     
    110110        values.erase(values.begin()+pos); 
    111111    } 
    112      
    113     return Group::removeChild(child);     
     112 
     113    return Group::removeChild(child); 
    114114} 
    115115 
     
    130130    unsigned int pos=getChildIndex(child); 
    131131    if (pos==_children.size()) return; 
    132      
     132 
    133133    ValueList& values = _values[switchSet]; 
    134134    values[pos]=value; 
     
    152152    unsigned int pos=getChildIndex(child); 
    153153    if (pos==_children.size()) return false; 
    154      
     154 
    155155    const ValueList& values = _values[switchSet]; 
    156156    return values[pos];