viewer: don't clear fps timer until time changes
This commit is contained in:
@@ -173,6 +173,10 @@ void ViewerWidget::TimeChangedEvent(const int64_t &i)
|
||||
UpdateTextureFromNode();
|
||||
|
||||
PushScrubbedAudio();
|
||||
|
||||
// We don't clear the FPS timer on pause in case users want to see it immediately after, but by
|
||||
// the time a new texture is drawn, assume that the FPS no longer needs to be shown.
|
||||
display_widget_->ResetFPSTimer();
|
||||
}
|
||||
|
||||
if (!pause_autocache_during_playback_ || !IsPlaying()) {
|
||||
@@ -500,12 +504,6 @@ void ViewerWidget::UpdateTextureFromNode()
|
||||
qWarning() << "Playback queue failed to keep up";
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
// We don't clear the FPS timer on pause in case users want to see it immediately after, but by
|
||||
// the time a new texture is drawn, assume that the FPS no longer needs to be shown.
|
||||
display_widget_->ResetFPSTimer();
|
||||
|
||||
}
|
||||
|
||||
if (frame_exists_at_time || frame_might_be_still) {
|
||||
|
||||
Reference in New Issue
Block a user