Skip to content

Commit

Permalink
Do not reject 'velocities' or 'accelerations' as primvars for the ren…
Browse files Browse the repository at this point in the history
  • Loading branch information
robp-sidefx authored Jan 31, 2025
1 parent 534b22c commit 88e982e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions pxr/usdImaging/usdImaging/dataSourcePrimvars.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,20 +40,13 @@ _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)
{
if (name == UsdGeomTokens->points) {
return true;
}
if (name == UsdGeomTokens->velocities) {
return true;
}
if (name == UsdGeomTokens->accelerations) {
return true;
}

return false;
}
Expand Down

0 comments on commit 88e982e

Please sign in to comment.