Changed controls for changing animation speed to '(' and ')' to avoid overlap with window resize handler.

This commit is contained in:
Robert Osfield
2010-02-18 21:15:28 +00:00
parent 787daeeb93
commit f54b7d6141

View File

@@ -93,7 +93,7 @@ bool AnimationPathManipulator::handle(const osgGA::GUIEventAdapter& ea,osgGA::GU
return true;
}
else if (ea.getKey()=='>')
else if (ea.getKey()==')')
{
double time = _isPaused ? _pauseTime : ea.getTime();
double animationTime = (time+_timeOffset)*_timeScale;
@@ -107,7 +107,7 @@ bool AnimationPathManipulator::handle(const osgGA::GUIEventAdapter& ea,osgGA::GU
return true;
}
else if (ea.getKey()=='<')
else if (ea.getKey()=='(')
{
double time = _isPaused ? _pauseTime : ea.getTime();
double animationTime = (time+_timeOffset)*_timeScale;