Skip to content

Commit

Permalink
Merge pull request #2728 from erikaharrison-adsk/adsk/bugfix/usdMtlxr…
Browse files Browse the repository at this point in the history
…eader

Autodesk: Fix testUsdImagingGLMaterialXCustomNodes_customColor failure

(Internal change: 2306170)
  • Loading branch information
pixar-oss committed Nov 28, 2023
2 parents c5d244e + 1925fa4 commit d78e3b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pxr/usd/usdMtlx/reader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -908,7 +908,7 @@ _NodeGraphBuilder::_AddNode(
// Nodegraphs associated with locally defined custom nodes are added
// before reading materials, and therefore get-able here
auto nodeGraphPath = usdParent.GetParent().GetPath().AppendChild(
TfToken(mtlxNodeDef->getName()));
_MakeName(mtlxNodeDef));
auto usdNodeGraph = UsdShadeNodeGraph::Get(usdStage, nodeGraphPath);
connectable = usdNodeGraph.ConnectableAPI();
_SetCoreUIAttributes(usdNodeGraph.GetPrim(), mtlxNode);
Expand Down

0 comments on commit d78e3b5

Please sign in to comment.