Here's a simple patch to give a slightly delayed start to the _repeat_ function for mouse events in the new "3D" pick animation. This gives the conventional behavior, expected of all user interfaces ... and not coincidentally, this how the good old "2D" panel does it.
To say the same thing the other way, without this patch the <repeatable> feature on 3D panels is unusable in practice. Instrument designers have been turning off the <repeatable> feature, which seems like a step in the wrong direction. It would be better to make it work properly, so they don't need to turn it off. --- a/simgear/scene/model/animation.cxx +++ b/simgear/scene/model/animation.cxx @@ -1986,7 +1986,7 @@ public: SGBindingList::const_iterator i; for (i = _bindingsDown.begin(); i != _bindingsDown.end(); ++i) (*i)->fire(); - _repeatTime = 0; + _repeatTime = -_repeatInterval; return true; } virtual void buttonReleased(void) ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel