diff --git a/samples/motion_playback/sample_motion_playback.cc b/samples/motion_playback/sample_motion_playback.cc index f569802ee..0be810c69 100644 --- a/samples/motion_playback/sample_motion_playback.cc +++ b/samples/motion_playback/sample_motion_playback.cc @@ -207,6 +207,7 @@ class MotionPlaybackSampleApplication : public ozz::sample::Application { &angular_velocity_); if (_im_gui->DoButton("Teleport")) { motion_sampler_.Teleport(ozz::math::Transform::identity()); + trace_.clear(); } } }