Changeset 10357

Show
Ignore:
Timestamp:
06/17/09 18:54:39 (8 years ago)
Author:
robert
Message:

Replaced forward declarations

Location:
OpenSceneGraph/trunk
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osgAnimation/ActionVisitor

    r10344 r10357  
    4040    public: 
    4141        std::vector<FrameAction> _stackFrameAction; 
    42         std::vector<osg::ref_ptr<Timeline> > _stackTimeline; 
     42        std::vector<Timeline*> _stackTimeline; 
    4343 
    4444        META_ActionVisitor(osgAnimation, ActionVisitor); 
  • OpenSceneGraph/trunk/include/osgAnimation/Timeline

    r10344 r10357  
    2424#include <osgAnimation/FrameAction> 
    2525#include <osgAnimation/AnimationManagerBase> 
     26#include <osgAnimation/StatsVisitor> 
    2627 
    2728namespace osgAnimation 
    2829{ 
    29     class StatsActionVisitor; 
    30  
    3130    class OSGANIMATION_EXPORT Timeline : public Action //osg::Object 
    3231    { 
  • OpenSceneGraph/trunk/include/osgDB/DatabaseRevisions

    r10354 r10357  
    3535        FileNames& getFileNames() { return _files; } 
    3636        const FileNames& getFileNames() const { return _files; } 
     37 
     38        bool empty() const { return _files.empty(); } 
    3739 
    3840        bool containsFile(const std::string& filename) const { return _files.count(filename)!=0; } 
  • OpenSceneGraph/trunk/src/osgAnimation/ActionVisitor.cpp

    r10351 r10357  
    3636    if (_stackTimeline.empty()) 
    3737        return 0; 
    38     return _stackTimeline.back().get(); 
     38    return _stackTimeline.back(); 
    3939} 
    4040