From 13b085be8a5e8606087238d259b82ea55af1c495 Mon Sep 17 00:00:00 2001 From: Guillaume Blanc Date: Mon, 20 May 2024 21:36:35 +0200 Subject: [PATCH] Clears trace on teleport. --- samples/motion_playback/sample_motion_playback.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/motion_playback/sample_motion_playback.cc b/samples/motion_playback/sample_motion_playback.cc index f569802e..0be810c6 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(); } } }