Skip to content

Commit

Permalink
Revert "Stop playback when we reach the end of the data (#2085)"
Browse files Browse the repository at this point in the history
This reverts commit 3abd1c1.
  • Loading branch information
jleibs committed May 12, 2023
1 parent e4bdad8 commit e57569d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/re_viewer_context/src/time_control.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@ impl TimeControl {
.or_insert_with(|| TimeState::new(full_range.min));

if self.looping == Looping::Off && state.time >= full_range.max {
// We've reached the end - stop playing.
state.time = full_range.max.into();
self.pause();
// Don't pause or rewind, just stop moving time forward
// until we receive more data!
// This is important for "live view".
return;
}

Expand Down

0 comments on commit e57569d

Please sign in to comment.