skybrush-io / viewer

Skybrush Viewer - the viewer app for Skybrush drone shows
https://skybrush.io
GNU General Public License v3.0
14 stars 16 forks source link

Incorrect start time on playback slider when validating trajectories from the Blender plugin #1

Closed ntamas closed 2 years ago

ntamas commented 2 years ago

Steps to reproduce:

  1. Fire up the Skybrush Studio Blender plugin
  2. Validate the trajectories in a frame range that does not start at frame zero (by setting the playback range to something smaller)
  3. Validate the trajectories for the full storyboard

Expected result:

The playback slider in Skybrush Viewer should start at 0:00.

Observed result:

The playback slider starts at -x:y where x:y is the start of the frame range used in step 2, in minutes:seconds notation. Presumably we forget to reset the timestamp offset of the slider to zero.

ntamas commented 2 years ago

It turns out that this was due to a misunderstanding in how the plugin treats the frame range specified in Blender's timeline view in the upper right hand corner.