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/Group.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*/ 
     
    7373{ 
    7474    if (!child) return false; 
    75      
    76 #if ENSURE_CHILD_IS_UNIQUE     
     75 
     76#if ENSURE_CHILD_IS_UNIQUE 
    7777    if (containsNode(child)) 
    7878    { 
     
    8181    } 
    8282#endif 
    83      
     83 
    8484    if (child) 
    8585    { 
     
    9696        // register as parent of child. 
    9797        child->addParent(this); 
    98          
     98 
    9999        // tell any subclasses that a child has been inserted so that they can update themselves. 
    100100        childInserted(index); 
     
    186186            setNumChildrenRequiringUpdateTraversal(getNumChildrenRequiringUpdateTraversal()-updateCallbackRemoved); 
    187187        } 
    188          
     188 
    189189        if (eventCallbackRemoved) 
    190190        { 
     
    196196            setNumChildrenWithCullingDisabled(getNumChildrenWithCullingDisabled()-numChildrenWithCullingDisabledRemoved); 
    197197        } 
    198          
     198 
    199199        if (numChildrenWithOccludersRemoved) 
    200200        { 
    201201            setNumChildrenWithOccluderNodes(getNumChildrenWithOccluderNodes()-numChildrenWithOccludersRemoved); 
    202202        } 
    203          
     203 
    204204        dirtyBound(); 
    205          
     205 
    206206        return true; 
    207207    } 
     
    227227    if (i<_children.size() && newNode) 
    228228    { 
    229      
     229 
    230230        ref_ptr<Node> origNode = _children[i]; 
    231      
     231 
    232232        // first remove for origNode's parent list. 
    233233        origNode->removeParent(this); 
     
    298298            ++delta_numChildrenWithCullingDisabled; 
    299299        } 
    300          
     300 
    301301        if (delta_numChildrenWithCullingDisabled!=0) 
    302302        { 
     
    319319            ++delta_numChildrenWithOccluderNodes; 
    320320        } 
    321          
     321 
    322322        if (delta_numChildrenWithOccluderNodes!=0) 
    323323        { 
     
    336336{ 
    337337    BoundingSphere bsphere; 
    338     if (_children.empty())  
     338    if (_children.empty()) 
    339339    { 
    340340        return bsphere; 
     
    359359    } 
    360360 
    361     if (!bb.valid())  
     361    if (!bb.valid()) 
    362362    { 
    363363        return bsphere;