Fix priority of pick animations.

This commit is contained in:
James Turner
2013-03-05 08:39:44 +00:00
parent dcda8d1c7a
commit 33b328e3d5

View File

@@ -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)