Skip to content

Commit

Permalink
Merge pull request #3492 from dj-mcg/pr/Fix_Reference_Assemblies
Browse files Browse the repository at this point in the history
Pipe UsdStage data and Complexity to proxy nodes
  • Loading branch information
seando-adsk authored Dec 7, 2023
2 parents 3a5d397 + 6f0c913 commit fe7868c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions plugin/pxr/maya/lib/usdMaya/referenceAssembly.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1397,6 +1397,12 @@ void UsdMayaRepresentationHierBase::_ConnectProxyPlugs()
dgMod.connect(
dagFn.findPlug(UsdMayaReferenceAssembly::timeAttr, true),
proxyDepNodeFn.findPlug(UsdMayaProxyShape::timeAttr, true));
dgMod.connect(
dagFn.findPlug(UsdMayaReferenceAssembly::complexityAttr, true),
proxyDepNodeFn.findPlug(UsdMayaProxyShape::complexityAttr, true));
dgMod.connect(
dagFn.findPlug(UsdMayaReferenceAssembly::outStageDataAttr, true),
proxyDepNodeFn.findPlug(UsdMayaProxyShape::inStageDataAttr, true));
}
dgMod.doIt();
}
Expand Down

0 comments on commit fe7868c

Please sign in to comment.