From 56a512dc6faf17c6a9754f0cfcecdb7320ca26a4 Mon Sep 17 00:00:00 2001 From: Jonathan Stone Date: Fri, 11 Oct 2024 12:37:48 -0700 Subject: [PATCH] Minor clarification of comments --- source/MaterialXCore/Definition.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/MaterialXCore/Definition.cpp b/source/MaterialXCore/Definition.cpp index 430ba8d087..439fc711d0 100644 --- a/source/MaterialXCore/Definition.cpp +++ b/source/MaterialXCore/Definition.cpp @@ -186,7 +186,8 @@ StringVec TargetDef::getMatchingTargets() const vector UnitTypeDef::getUnitDefs() const { vector unitDefs; - // Gather unitdefs from Data library + + // Gather from data library. if (getDocument()->hasDataLibrary()) { for (UnitDefPtr unitDef : getDocument()->getDataLibrary()->getChildrenOfType()) @@ -197,7 +198,8 @@ vector UnitTypeDef::getUnitDefs() const } } } - // Gather unitdefs from document + + // Gather from content document. for (UnitDefPtr unitDef : getDocument()->getChildrenOfType()) { if (unitDef->getUnitType() == _name)