diff --git a/mrv2/docs/HISTORY.md b/mrv2/docs/HISTORY.md index 12933d5cf..627f5fa51 100644 --- a/mrv2/docs/HISTORY.md +++ b/mrv2/docs/HISTORY.md @@ -44,6 +44,7 @@ v1.0.7 viewport. - Added GBR8/9/10/12 reading support for VPX. - Fixed start and end timeline buttons not refreshing thumbnails in the Panels. +- Fixed seeking not updating the thumbnails in the Panels. - Fixed image panel not refreshing its information when changing images and the playback was stopped. - Fixed Preferences->Positioning->Position/Size when both were used. diff --git a/mrv2/lib/mrvFl/mrvTimelinePlayer.cpp b/mrv2/lib/mrvFl/mrvTimelinePlayer.cpp index 72b9f1c59..a055fae5c 100644 --- a/mrv2/lib/mrvFl/mrvTimelinePlayer.cpp +++ b/mrv2/lib/mrvFl/mrvTimelinePlayer.cpp @@ -336,7 +336,8 @@ namespace mrv { _p->isStepping = false; // Send a seek request to make sure we are at the right time - seek(currentTime()); + pushMessage("seek", currentTime()); + panel::redrawThumbnails(); } } @@ -376,8 +377,6 @@ namespace mrv { pushMessage("seek", value); _p->player->seek(value); - if (playback() == timeline::Playback::Stop) - panel::redrawThumbnails(); if (timelineViewport) timelineViewport->updateUndoRedoButtons(); } diff --git a/mrv2/lib/mrvGL/mrvTimelineViewportEvents.cpp b/mrv2/lib/mrvGL/mrvTimelineViewportEvents.cpp index 5321ae23c..7e38eead7 100644 --- a/mrv2/lib/mrvGL/mrvTimelineViewportEvents.cpp +++ b/mrv2/lib/mrvGL/mrvTimelineViewportEvents.cpp @@ -996,11 +996,7 @@ namespace mrv return 0; auto player = p.timelinePlayers[0]; player->setPlayback(p.playbackMode); - - if (panel::filesPanel) - panel::filesPanel->redraw(); - if (panel::comparePanel) - panel::comparePanel->redraw(); + panel::redrawThumbnails(); } else {