From 33b328e3d59a6434295c2a8128b5a941c61cf6f7 Mon Sep 17 00:00:00 2001 From: James Turner Date: Tue, 5 Mar 2013 08:39:44 +0000 Subject: [PATCH] Fix priority of pick animations. --- simgear/scene/model/SGPickAnimation.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/simgear/scene/model/SGPickAnimation.cxx b/simgear/scene/model/SGPickAnimation.cxx index f5642c6f..b212161f 100644 --- a/simgear/scene/model/SGPickAnimation.cxx +++ b/simgear/scene/model/SGPickAnimation.cxx @@ -53,6 +53,7 @@ static void readOptionalBindingList(const SGPropertyNode* aNode, SGPropertyNode* public: PickCallback(const SGPropertyNode* configNode, SGPropertyNode* modelRoot) : + SGPickCallback(PriorityPanel), _repeatable(configNode->getBoolValue("repeatable", false)), _repeatInterval(configNode->getDoubleValue("interval-sec", 0.1)) { @@ -367,6 +368,7 @@ class SGKnobAnimation::KnobPickCallback : public SGPickCallback { public: KnobPickCallback(const SGPropertyNode* configNode, SGPropertyNode* modelRoot) : + SGPickCallback(PriorityPanel), _direction(DIRECTION_NONE), _repeatInterval(configNode->getDoubleValue("interval-sec", 0.1)), _stickyShifted(false) -- 2.39.5