Skip to content

Commit

Permalink
Fix redraw of Media Info Panel.
Browse files Browse the repository at this point in the history
  • Loading branch information
ggarra13 committed Sep 18, 2024
1 parent bc11337 commit 3718665
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/lib/mrvGL/mrvTimelineViewport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1248,10 +1248,11 @@ namespace mrv
if (!file::isMovie(p.player->path().getExtension()))
imageRefresh = true;

// If timeline is stopped or has a single frame,
// refresh the media info panel completely.
// If timeline is stopped or has a single frame, or we are the
// beginning, refresh the media info panel completely.
if (p.player->playback() == timeline::Playback::Stop ||
p.player->timeRange().duration().value() == 1.0)
p.player->timeRange().duration().value() == 1.0 ||
p.player->inOutRange().start_time() == p.player->currentTime())
fullRefresh = true;

// If timeline has a Data Window (it is an OpenEXR)
Expand Down

0 comments on commit 3718665

Please sign in to comment.