From: James Turner Date: Tue, 5 Mar 2013 08:39:44 +0000 (+0000) Subject: Fix priority of pick animations. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=33b328e3d59a6434295c2a8128b5a941c61cf6f7;p=simgear.git Fix priority of pick animations. --- 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)