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/osg/Geode.cpp

    r11472 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*/ 
     
    5454        // note ref_ptr<> automatically handles incrementing drawable's reference count. 
    5555        _drawables.push_back(drawable); 
    56          
     56 
    5757        // register as parent of drawable. 
    5858        drawable->addParent(this); 
    59          
     59 
    6060        if (drawable->requiresUpdateTraversal()) 
    6161        { 
    6262            setNumChildrenRequiringUpdateTraversal(getNumChildrenRequiringUpdateTraversal()+1); 
    6363        } 
    64          
     64 
    6565        if (drawable->requiresEventTraversal()) 
    6666        { 
     
    6868        } 
    6969 
    70         dirtyBound();         
    71          
     70        dirtyBound(); 
     71 
    7272        return true; 
    7373    } 
     
    110110            setNumChildrenRequiringUpdateTraversal(getNumChildrenRequiringUpdateTraversal()-updateCallbackRemoved); 
    111111        } 
    112          
     112 
    113113        if (eventCallbackRemoved) 
    114114        { 
     
    117117 
    118118        dirtyBound(); 
    119          
     119 
    120120        return true; 
    121121    } 
     
    139139    if (i<_drawables.size() && newDrawable) 
    140140    { 
    141      
     141 
    142142        Drawable* origDrawable = _drawables[i].get(); 
    143143 
     
    161161        // remove from origDrawable's parent list. 
    162162        origDrawable->removeParent(this); 
    163          
     163 
    164164        // note ref_ptr<> automatically handles decrementing origGset's reference count, 
    165165        // and incrementing newGset's reference count. 
     
    171171 
    172172        dirtyBound(); 
    173          
     173 
    174174        return true; 
    175175    } 
     
    213213{ 
    214214    Node::setThreadSafeRefUnref(threadSafe); 
    215      
     215 
    216216    for(DrawableList::const_iterator itr=_drawables.begin(); 
    217217        itr!=_drawables.end();