Skip to content

Commit 241d939

Browse files
klucknavpixar-oss
authored andcommitted
Add missing comment about GetAsToken() use
(Internal change: 2352869)
1 parent 2e5fd11 commit 241d939

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pxr/usdImaging/usdImaging/dataSourceAttributeTypeName.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ class UsdImagingDataSourceAttributeTypeName : public HdTokenDataSource
3737
TfToken GetTypedValue(HdSampledDataSource::Time shutterOffset) override
3838
{
3939
TF_UNUSED(shutterOffset);
40+
// We are using the GetAsToken() here since we do not expect an alias
41+
// other than the "official" type name.
4042
return _usdAttr.GetTypeName().GetAsToken();
4143
}
4244

0 commit comments

Comments
 (0)