From 9510df9c2e0f1f1f9249b8e158a65246cf740fba Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 18 Sep 2008 13:54:13 +0000 Subject: [PATCH] From Alan Dickinson, change methods to virtual. --- include/osg/AnimationPath | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/osg/AnimationPath b/include/osg/AnimationPath index 659f458c5..5c454377a 100644 --- a/include/osg/AnimationPath +++ b/include/osg/AnimationPath @@ -276,7 +276,7 @@ class OSG_EXPORT AnimationPathCallback : public NodeCallback double getTimeMultiplier() const { return _timeMultiplier; } - void reset(); + virtual void reset(); void setPause(bool pause); bool getPause() const { return _pause; } @@ -284,7 +284,7 @@ class OSG_EXPORT AnimationPathCallback : public NodeCallback /** Get the animation time that is used to specify the position along * the AnimationPath. Animation time is computed from the formula: * ((_latestTime-_firstTime)-_timeOffset)*_timeMultiplier.*/ - double getAnimationTime() const; + virtual double getAnimationTime() const; /** Implements the callback. */ virtual void operator()(Node* node, NodeVisitor* nv);