In motion capture and sometimes in character animation as well, keyframe handles for animation holds can be not perfectly flat. This creates an undesirable sliding effect. By running “Flatten Holds,” it will flatten the hold keyframes in the selected F-Curves/Keyframes.
Flatten Holds’ target: either the Selected F-Curves or Selected Keyframes
Threshold for difference in keyframes. Increase the value to see more holds.