- fixed bug in ModelNode_getChildWithFc function

pull/6/head
Michael Zillgith 11 years ago
parent ad090f707e
commit 811b8f4572

@ -491,8 +491,20 @@ ModelNode_getChildWithFc(ModelNode* self, const char* name, FunctionalConstraint
}
}
else {
matchingNode = nextNode;
break;
if (nextNode->modelType == DataAttributeModelType) {
DataAttribute* da = (DataAttribute*) nextNode;
if (da->fc == fc) {
matchingNode = nextNode;
break;
}
}
else {
matchingNode = nextNode;
break;
}
}
}
}

Loading…
Cancel
Save