]> git.mxchange.org Git - simgear.git/commitdiff
Fix priority of pick animations.
authorJames Turner <zakalawe@mac.com>
Tue, 5 Mar 2013 08:39:44 +0000 (08:39 +0000)
committerJames Turner <zakalawe@mac.com>
Tue, 5 Mar 2013 08:39:44 +0000 (08:39 +0000)
simgear/scene/model/SGPickAnimation.cxx

index f5642c6fef8211c080ffc424b18a759c9f9ec091..b212161f891115285877eb4630d87e6b01b99079 100644 (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)