Skip to content

Commit

Permalink
Minor clarification
Browse files Browse the repository at this point in the history
  • Loading branch information
jstone-lucasfilm authored Oct 11, 2024
1 parent 87c59b2 commit 884f0d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/MaterialXCore/Node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -735,11 +735,11 @@ NodeDefPtr NodeGraph::getNodeDef() const
}
}
}
// Check datalibrary if available

// Check data library if available
if (!nodedef && getDocument()->hasDataLibrary())
{
const auto datalibray = getDocument()->getDataLibrary();
for (auto impl : datalibray->getImplementations())
for (auto impl : getDocument()->getDataLibrary()->getImplementations())
{
if (impl->getNodeGraph() == getQualifiedName(getName()))
{
Expand Down

0 comments on commit 884f0d9

Please sign in to comment.