Skip to content

Commit

Permalink
Add missing comment about GetAsToken() use
Browse files Browse the repository at this point in the history
(Internal change: 2352869)
  • Loading branch information
klucknav authored and pixar-oss committed Jan 8, 2025
1 parent 2e5fd11 commit 241d939
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pxr/usdImaging/usdImaging/dataSourceAttributeTypeName.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ class UsdImagingDataSourceAttributeTypeName : public HdTokenDataSource
TfToken GetTypedValue(HdSampledDataSource::Time shutterOffset) override
{
TF_UNUSED(shutterOffset);
// We are using the GetAsToken() here since we do not expect an alias
// other than the "official" type name.
return _usdAttr.GetTypeName().GetAsToken();
}

Expand Down

0 comments on commit 241d939

Please sign in to comment.