From 626e9ac86d0a22cacb5d133de5e1dcea24248f14 Mon Sep 17 00:00:00 2001 From: Jonathan Stone Date: Fri, 11 Oct 2024 12:42:34 -0700 Subject: [PATCH] Clarify comments --- source/MaterialXCore/Document.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();