Skip to content

Commit

Permalink
Sample the current keyframe after applying a pose
Browse files Browse the repository at this point in the history
  • Loading branch information
acidbubbles committed Jun 2, 2022
1 parent 2e9d0fa commit bc57df0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/AtomAnimations/Editing/AtomAnimationEditContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -777,6 +777,8 @@ private void SampleOrPose(bool pose, bool force)
{
poseClip.Apply();
animation.lastAppliedPose = poseClip;
if (_lateSample != null) StopCoroutine(_lateSample);
_lateSample = StartCoroutine(LateSample(0.1f));
return;
}
}
Expand Down

0 comments on commit bc57df0

Please sign in to comment.