From Konstantin Matveyev, "Last update in the osgAnimation::Animation ONCE mode bug fix"
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14789 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
@@ -107,7 +107,13 @@ bool Animation::update (double time, int priority)
|
||||
{
|
||||
case ONCE:
|
||||
if (t > _originalDuration)
|
||||
{
|
||||
for (ChannelList::const_iterator chan = _channels.begin();
|
||||
chan != _channels.end(); ++chan)
|
||||
(*chan)->update(_originalDuration, _weight, priority);
|
||||
|
||||
return false;
|
||||
}
|
||||
break;
|
||||
case STAY:
|
||||
if (t > _originalDuration)
|
||||
|
||||
Reference in New Issue
Block a user