Skip to content

Commit

Permalink
Clarify comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jstone-lucasfilm authored Oct 11, 2024
1 parent 234e526 commit 626e9ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/MaterialXCore/Document.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ vector<OutputPtr> Document::getMaterialOutputs() const

vector<NodeDefPtr> Document::getMatchingNodeDefs(const string& nodeName) const
{
// Gather all nodedefs from datalibrary if available
// Recurse to data library if present.
vector<NodeDefPtr> matchingNodeDefs = hasDataLibrary() ?
getDataLibrary()->getMatchingNodeDefs(nodeName) :
vector<NodeDefPtr>();
Expand All @@ -376,7 +376,7 @@ vector<NodeDefPtr> Document::getMatchingNodeDefs(const string& nodeName) const

vector<InterfaceElementPtr> Document::getMatchingImplementations(const string& nodeDef) const
{
// Gather all implementations from datalibrary if available
// Recurse to data library if present.
vector<InterfaceElementPtr> matchingImplementations = hasDataLibrary() ?
getDataLibrary()->getMatchingImplementations(nodeDef) :
vector<InterfaceElementPtr>();
Expand Down

0 comments on commit 626e9ac

Please sign in to comment.