Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions pxr/usdImaging/usdSkelImaging/skelData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,16 @@ _ComputeJointLocalTransforms(
return UsdSkelImagingGetTypedValue(restTransforms);
}

// If all transform components were empty, that could mean:
// - the attributes were never authored
// - the attributes were blocked
// - the attributes were authored with empty arrays (possibly intentionally)
// In many of these cases, we should expect the animation to be silently
// ignored, so throw no warning.
if (animTransforms.empty()) {
return UsdSkelImagingGetTypedValue(restTransforms);
}

if (data.animMapper.IsIdentity()) {
return animTransforms;
}
Expand Down
Loading