diff --git a/source/MaterialXCore/Document.cpp b/source/MaterialXCore/Document.cpp index 461dbe7b3f..4e70aac46e 100644 --- a/source/MaterialXCore/Document.cpp +++ b/source/MaterialXCore/Document.cpp @@ -357,7 +357,7 @@ vector Document::getMaterialOutputs() const vector Document::getMatchingNodeDefs(const string& nodeName) const { - // Gather all nodedefs from datalibrary if available + // Recurse to data library if present. vector matchingNodeDefs = hasDataLibrary() ? getDataLibrary()->getMatchingNodeDefs(nodeName) : vector(); @@ -376,7 +376,7 @@ vector Document::getMatchingNodeDefs(const string& nodeName) const vector Document::getMatchingImplementations(const string& nodeDef) const { - // Gather all implementations from datalibrary if available + // Recurse to data library if present. vector matchingImplementations = hasDataLibrary() ? getDataLibrary()->getMatchingImplementations(nodeDef) : vector();