From: John Denker Date: Wed, 7 Jan 2009 11:22:13 +0000 (-0700) Subject: Make "repeat" start slower on pick-animation mouse events; X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f3bc977d329bf51eb3cbe91205bd4ac4e5c94a4b;p=simgear.git Make "repeat" start slower on pick-animation mouse events; otherwise it is unusable. --- diff --git a/simgear/scene/model/animation.cxx b/simgear/scene/model/animation.cxx index a52174d3..22ba2825 100644 --- a/simgear/scene/model/animation.cxx +++ b/simgear/scene/model/animation.cxx @@ -2013,7 +2013,7 @@ public: SGBindingList::const_iterator i; for (i = _bindingsDown.begin(); i != _bindingsDown.end(); ++i) (*i)->fire(); - _repeatTime = 0; + _repeatTime = -_repeatInterval; // anti-bobble: delay start of repeat return true; } virtual void buttonReleased(void)