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/include/osg/ValueObject

    r12785 r13041  
    138138        virtual ~TemplateValueObject() {} 
    139139        static const char* s_TemplateValueObject_className; 
    140          
     140 
    141141        T _value; 
    142142}; 
     
    172172{ 
    173173    typedef TemplateValueObject<T> UserValueObject; 
    174      
     174 
    175175    const osg::UserDataContainer* udc = dynamic_cast<const osg::UserDataContainer*>(this); 
    176176    if (!udc) udc = _userDataContainer; 
    177      
     177 
    178178    const UserValueObject* uvo = udc ? dynamic_cast<const UserValueObject*>(udc->getUserObject(name)) : 0; 
    179179    if (uvo) 
     
    200200        udc = _userDataContainer; 
    201201    } 
    202      
     202 
    203203    unsigned int i = udc->getUserObjectIndex(name); 
    204204    if (i<udc->getNumUserObjects()) udc->setUserObject(i, new UserValueObject(name,value));