added call to copy constructor for virtual base classes in copy constructor of derived classes, removed these for abstract classes

This commit is contained in:
Laurens Voerman
2016-08-29 10:41:40 +02:00
parent 2bdf56cb4b
commit 628f8fd9dc
31 changed files with 88 additions and 42 deletions

View File

@@ -27,9 +27,12 @@ TimelineAnimationManager::TimelineAnimationManager(const AnimationManagerBase& m
_timeline = new Timeline;
}
TimelineAnimationManager::TimelineAnimationManager(const TimelineAnimationManager& nc,const osg::CopyOp& co) : AnimationManagerBase(nc, co)
TimelineAnimationManager::TimelineAnimationManager(const TimelineAnimationManager& nc,const osg::CopyOp& co):
osg::Object(nc,co),
osg::Callback(nc,co),
AnimationManagerBase(nc, co)
{
_timeline = new Timeline(*nc.getTimeline());
_timeline = new Timeline(*nc.getTimeline(), co);
}
void TimelineAnimationManager::update(double time)