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/osgAnimation/BasicAnimationManager.cpp

    r12292 r13041  
    1 /*  -*-c++-*-  
     1/*  -*-c++-*- 
    22 *  Copyright (C) 2008 Cedric Pinson <cedric.pinson@plopbyte.net> 
    33 * 
    4  * This library is open source and may be redistributed and/or modified under   
    5  * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or  
     4 * This library is open source and may be redistributed and/or modified under 
     5 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or 
    66 * (at your option) any later version.  The full license is in LICENSE file 
    77 * included with this distribution, and on the openscenegraph.org website. 
    8  *  
     8 * 
    99 * This library is distributed in the hope that it will be useful, 
    1010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    1212 * OpenSceneGraph Public License for more details. 
    1313*/ 
     
    1919 
    2020BasicAnimationManager::BasicAnimationManager() 
    21 : _lastUpdate(0.0)  
     21: _lastUpdate(0.0) 
    2222{ 
    2323} 
    2424 
    25 BasicAnimationManager::BasicAnimationManager(const AnimationManagerBase& b, const osg::CopyOp& copyop)  
     25BasicAnimationManager::BasicAnimationManager(const AnimationManagerBase& b, const osg::CopyOp& copyop) 
    2626: AnimationManagerBase(b,copyop) 
    27 , _lastUpdate(0.0)  
     27, _lastUpdate(0.0) 
    2828{ 
    2929} 
    3030 
    31 BasicAnimationManager::~BasicAnimationManager()  
     31BasicAnimationManager::~BasicAnimationManager() 
    3232{ 
    3333} 
     
    3636{ 
    3737    // loop over all playing animation 
    38     for( AnimationLayers::iterator iterAnim = _animationsPlaying.begin(); iterAnim != _animationsPlaying.end(); ++iterAnim )  
     38    for( AnimationLayers::iterator iterAnim = _animationsPlaying.begin(); iterAnim != _animationsPlaying.end(); ++iterAnim ) 
    3939    { 
    4040        AnimationList& list = iterAnim->second; 
     
    5252    if ( isPlaying(pAnimation) ) 
    5353        stopAnimation(pAnimation); 
    54    
     54 
    5555    _animationsPlaying[priority].push_back(pAnimation); 
    5656    // for debug 
     
    9595        for (unsigned int i = 0; i < list.size(); i++) 
    9696        { 
    97             if (! list[i]->update(time, priority))  
     97            if (! list[i]->update(time, priority)) 
    9898            { 
    9999                // debug 
    100100                // std::cout << list[i]->getName() << " finished at " << time << std::endl; 
    101101                toremove.push_back(i); 
    102             } else  
     102            } else 
    103103            { 
    104104                // debug 
     
    119119bool BasicAnimationManager::findAnimation(Animation* pAnimation) 
    120120{ 
    121     for( AnimationList::const_iterator iterAnim = _animations.begin(); iterAnim != _animations.end(); ++iterAnim )  
     121    for( AnimationList::const_iterator iterAnim = _animations.begin(); iterAnim != _animations.end(); ++iterAnim ) 
    122122    { 
    123123        if ( (*iterAnim) == pAnimation )