Register UsdImaging data source support for SdfPathExpression.
authorblevin <blevin@users.noreply.github.com>
Fri, 12 Jan 2024 18:41:20 +0000 (10:41 -0800)
committerpixar-oss <pixar-oss@users.noreply.github.com>
Fri, 12 Jan 2024 18:50:49 +0000 (10:50 -0800)
(Internal change: 2311586)

pxr/usdImaging/usdImaging/dataSourceAttribute.cpp

index 4c868b23eabf0b5dc6e5a7e1bcc169524333acd0..713bd4ecbaf7c32c29da74d742ed7c3a9f68c310 100644 (file)
@@ -78,6 +78,7 @@ static _FactoryMap _CreateFactoryMap()
     map[SdfValueTypeNames->Matrix4d] = _FactoryImpl<GfMatrix4d>;
     map[SdfValueTypeNames->Normal3fArray] = _FactoryImpl<VtArray<GfVec3f>>;
     map[SdfValueTypeNames->Normal3f] = _FactoryImpl<GfVec3f>;
+    map[SdfValueTypeNames->PathExpression] = _FactoryImpl<SdfPathExpression>;
     map[SdfValueTypeNames->Point3fArray] = _FactoryImpl<VtArray<GfVec3f>>;
     map[SdfValueTypeNames->Point3f] = _FactoryImpl<GfVec3f>;
     map[SdfValueTypeNames->Quath] = _FactoryImpl<GfQuath>;