From f54b7d61413f99314e082c5b477bb472e0bdffbe Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 18 Feb 2010 21:15:28 +0000 Subject: [PATCH] Changed controls for changing animation speed to '(' and ')' to avoid overlap with window resize handler. --- src/osgGA/AnimationPathManipulator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/osgGA/AnimationPathManipulator.cpp b/src/osgGA/AnimationPathManipulator.cpp index 7351354eb..edc3beaf3 100644 --- a/src/osgGA/AnimationPathManipulator.cpp +++ b/src/osgGA/AnimationPathManipulator.cpp @@ -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;