Skip to content

Commit

Permalink
Remove extra newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
jstone-lucasfilm authored Oct 12, 2024
1 parent 50ede5b commit 12cd70d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions source/MaterialXCore/Definition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,15 +186,13 @@ StringVec TargetDef::getMatchingTargets() const
vector<UnitDefPtr> UnitTypeDef::getUnitDefs() const
{
vector<UnitDefPtr> unitDefs;

for (UnitDefPtr unitDef : getDocument()->getChildrenOfType<UnitDef>(EMPTY_STRING, getDocument()->getDataLibrary()))
{
if (unitDef->getUnitType() == _name)
{
unitDefs.push_back(unitDef);
}
}

return unitDefs;
}
MATERIALX_NAMESPACE_END

0 comments on commit 12cd70d

Please sign in to comment.