From a64dc2759598f352c3a79b8a4a88885117406047 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 13 Jun 2007 19:54:00 +0000 Subject: [PATCH] Added clear() --- include/osg/AnimationPath | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/osg/AnimationPath b/include/osg/AnimationPath index 1e9a28a3b..7fbf19b5b 100644 --- a/include/osg/AnimationPath +++ b/include/osg/AnimationPath @@ -191,6 +191,8 @@ class OSG_EXPORT AnimationPath : public virtual osg::Object const TimeControlPointMap& getTimeControlPointMap() const { return _timeControlPointMap; } bool empty() const { return _timeControlPointMap.empty(); } + + void clear() { _timeControlPointMap.clear(); } /** Read the animation path from a flat ASCII file stream. */ void read(std::istream& in);