From 88e982e9de711dfb1d351e760d7aad02f0bf0557 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rob=20Piek=C3=A9?= Date: Fri, 31 Jan 2025 08:53:15 +0000 Subject: [PATCH] Do not reject 'velocities' or 'accelerations' as primvars for the renderer See https://github.com/PixarAnimationStudios/OpenUSD/issues/3508 --- pxr/usdImaging/usdImaging/dataSourcePrimvars.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pxr/usdImaging/usdImaging/dataSourcePrimvars.cpp b/pxr/usdImaging/usdImaging/dataSourcePrimvars.cpp index 7f46cefb02..d784e113db 100644 --- a/pxr/usdImaging/usdImaging/dataSourcePrimvars.cpp +++ b/pxr/usdImaging/usdImaging/dataSourcePrimvars.cpp @@ -40,7 +40,6 @@ _GetInterpolation(const UsdAttribute &attr) // Reject primvars:points since we always want to get the value from // the points attribute. -// Similar for velocities and accelerations. static bool _RejectPrimvar(const TfToken &name) @@ -48,12 +47,6 @@ _RejectPrimvar(const TfToken &name) if (name == UsdGeomTokens->points) { return true; } - if (name == UsdGeomTokens->velocities) { - return true; - } - if (name == UsdGeomTokens->accelerations) { - return true; - } return false; }