diff --git a/include/osgAnimation/BasicAnimationManager b/include/osgAnimation/BasicAnimationManager index c753f6ca8..b839f81a5 100644 --- a/include/osgAnimation/BasicAnimationManager +++ b/include/osgAnimation/BasicAnimationManager @@ -29,6 +29,7 @@ namespace osgAnimation META_Object(osgAnimation, BasicAnimationManager); BasicAnimationManager(); + BasicAnimationManager(const BasicAnimationManager& b, const osg::CopyOp& copyop = osg::CopyOp::SHALLOW_COPY); BasicAnimationManager(const AnimationManagerBase& b, const osg::CopyOp& copyop = osg::CopyOp::SHALLOW_COPY); virtual ~BasicAnimationManager(); diff --git a/src/osgAnimation/BasicAnimationManager.cpp b/src/osgAnimation/BasicAnimationManager.cpp index f42bea7e0..a13eadfaf 100644 --- a/src/osgAnimation/BasicAnimationManager.cpp +++ b/src/osgAnimation/BasicAnimationManager.cpp @@ -22,6 +22,14 @@ BasicAnimationManager::BasicAnimationManager() { } +BasicAnimationManager::BasicAnimationManager(const BasicAnimationManager& b, const osg::CopyOp& copyop) : + osg::Object(b, copyop), + osg::Callback(b, copyop), + AnimationManagerBase(b,copyop), + _lastUpdate(0.0) +{ +} + BasicAnimationManager::BasicAnimationManager(const AnimationManagerBase& b, const osg::CopyOp& copyop) : AnimationManagerBase(b,copyop) , _lastUpdate(0.0)