Skip to content

Commit

Permalink
Merge pull request #1659 from hshakula/fix-hdmtlx-houdini
Browse files Browse the repository at this point in the history
[HdMtlx] Fix duplicate name error when processing HdNetwork from Houdini

(Internal change: 2205739)
  • Loading branch information
pixar-oss committed Dec 17, 2021
2 parents b58783d + 52d0aae commit 30d8a0d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pxr/imaging/hdMtlx/hdMtlx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,8 @@ _GatherUpstreamNodes(

// Initilize the mxNodeGraph if needed
if (!(*mxNodeGraph)) {
const std::string & nodeGraphName = hdNodePath.GetParentPath().GetName();
const std::string nodeGraphName =
hdNodePath.GetParentPath().GetName() + "_Graph";
*mxNodeGraph = mxDoc->addNodeGraph(nodeGraphName);
}

Expand Down

0 comments on commit 30d8a0d

Please sign in to comment.