Source

Coin / src / nodekits / SoInteractionKit.cpp

Diff from to

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()) {