Snapping Notify to Frames in Animation Sequence not working

When I enable Snapping to Frames in an Animation Sequence (right-click the ruler/timeline), my notifies don’t snap to the frame markers.

Unreal documents the expected behavior perfectly in this GIF here, and I can’t get mine to behave that way.

managing2

Can anybody get this feature to work? I’m on 5.4, thank you.

1 Like

Can confirm this is indeed still happening in 5.6.1. Can’t believe they are missing such a fundemental feature.

If you are building from source, two small changes are needed to fix this for AnimNotify nodes.

In AnimModel.cpp, the Frames SnapType SnapFunction needs to return a time in seconds, not a frame number:

image

And the MaxSnapDist constant inFNotifyDragDropOp::GetSnapPosition needs to be much much larger than 5. 500 works well for me.

With just these changes, it is still not possible to snap Sync Markers to frames, but that can be fixed by modifying FNotifyDragDropOp::OnDraggedso that it performs the snap logic for all SAnimNotifyNode types, an exercise I leave to the reader.