Commits

Roy Walmsley  committed d59e1a7

Fixed issue #28 - Bug in SoInteractionKit.cpp

  • Participants
  • Parent commits 77a3830

Comments (0)

Files changed (1)

File src/nodekits/SoInteractionKit.cpp

       return FALSE;
     }
     int parentIdx = catalog->getParentPartNumber(partNum);
-    SoNode * parent = this->getCatalogInstances()[parentIdx]->getValue();
+    SoNode * parent = kit->getCatalogInstances()[parentIdx]->getValue();
     if (parent->isOfType(SoSwitch::getClassTypeId())) {
-      SoNode * node = this->getCatalogInstances()[partNum]->getValue();
+      SoNode * node = kit->getCatalogInstances()[partNum]->getValue();
       SoType type = node->getTypeId();
       if (type == SoGroup::getClassTypeId() ||
           type == SoSeparator::getClassTypeId()) {