Skip to content

Commit 85b6404

Browse files
anwang2009pixar-oss
authored andcommitted
Move NdrTokenMap usage to SdrTokenMap in pxr/imaging/hdsi
(Internal change: 2362085)
1 parent eb43568 commit 85b6404

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

pxr/imaging/hdsi/nodeIdentifierResolvingSceneIndex.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ _GetNodeTypeInfoForSourceType(
5151
return _GetNodeTypeInfo<T>(interface, nodeName, fullKey);
5252
}
5353

54-
NdrTokenMap
55-
_ToNdrTokenMap(const VtDictionary &d)
54+
SdrTokenMap
55+
_ToSdrTokenMap(const VtDictionary &d)
5656
{
57-
NdrTokenMap result;
57+
SdrTokenMap result;
5858
for (const auto &it : d) {
5959
result[TfToken(it.first)] = TfStringify(it.second);
6060
}
@@ -71,8 +71,8 @@ _GetSdrShaderNodeFromSourceAsset(
7171
_GetNodeTypeInfoForSourceType<SdfAssetPath>(
7272
interface, nodeName, sourceType, _tokens->sourceAsset);
7373

74-
const NdrTokenMap metadata =
75-
_ToNdrTokenMap(
74+
const SdrTokenMap metadata =
75+
_ToSdrTokenMap(
7676
_GetNodeTypeInfo<VtDictionary>(
7777
interface, nodeName, _tokens->sdrMetadata));
7878
const TfToken subIdentifier =
@@ -96,8 +96,8 @@ _GetSdrShaderNodeFromSourceCode(
9696
if (sourceCode.empty()) {
9797
return nullptr;
9898
}
99-
const NdrTokenMap metadata =
100-
_ToNdrTokenMap(
99+
const SdrTokenMap metadata =
100+
_ToSdrTokenMap(
101101
_GetNodeTypeInfo<VtDictionary>(
102102
interface, nodeName, _tokens->sdrMetadata));
103103

0 commit comments

Comments
 (0)