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

    r12292 r13041  
    1 /*  -*-c++-*-  
     1/*  -*-c++-*- 
    22 *  Copyright (C) 2008 Cedric Pinson <cedric.pinson@plopbyte.net> 
    33 * 
     
    4040} 
    4141 
    42 MorphGeometry::MorphGeometry(const osg::Geometry& b) :  
     42MorphGeometry::MorphGeometry(const osg::Geometry& b) : 
    4343    osg::Geometry(b, osg::CopyOp::DEEP_COPY_ARRAYS), 
    4444    _dirty(false), 
     
    5454} 
    5555 
    56 MorphGeometry::MorphGeometry(const MorphGeometry& b, const osg::CopyOp& copyop) :  
     56MorphGeometry::MorphGeometry(const MorphGeometry& b, const osg::CopyOp& copyop) : 
    5757    osg::Geometry(b,copyop), 
    5858    _dirty(b._dirty), 
     
    9191            normal->setDataVariance(osg::Object::DYNAMIC); 
    9292        } 
    93          
    94  
    95         if (!_positionSource.empty())  
     93 
     94 
     95        if (!_positionSource.empty()) 
    9696        { 
    9797            bool initialized = false; 
    98             if (_method == NORMALIZED)  
     98            if (_method == NORMALIZED) 
    9999            { 
    100100                // base * 1 - (sum of weights) + sum of (weight * target) 
     
    203203} 
    204204 
    205 UpdateMorph::UpdateMorph(const UpdateMorph& apc,const osg::CopyOp& copyop) :  
     205UpdateMorph::UpdateMorph(const UpdateMorph& apc,const osg::CopyOp& copyop) : 
    206206    osg::Object(apc, copyop), 
    207207    AnimationUpdateCallback<osg::NodeCallback>(apc, copyop) 
     
    209209} 
    210210 
    211 UpdateMorph::UpdateMorph(const std::string& name) : AnimationUpdateCallback<osg::NodeCallback>(name)  
     211UpdateMorph::UpdateMorph(const std::string& name) : AnimationUpdateCallback<osg::NodeCallback>(name) 
    212212{ 
    213213} 
     
    216216void UpdateMorph::operator()(osg::Node* node, osg::NodeVisitor* nv) 
    217217{ 
    218     if (nv && nv->getVisitorType() == osg::NodeVisitor::UPDATE_VISITOR)  
     218    if (nv && nv->getVisitorType() == osg::NodeVisitor::UPDATE_VISITOR) 
    219219    { 
    220220        osg::Geode* geode = dynamic_cast<osg::Geode*>(node); 
     
    225225            { 
    226226                osgAnimation::MorphGeometry* morph = dynamic_cast<osgAnimation::MorphGeometry*>(geode->getDrawable(i)); 
    227                 if (morph)  
     227                if (morph) 
    228228                { 
    229229                    // Update morph weights