Skip to content

Commit

Permalink
[ui] SequencePlayer: play on last frame restart from the beginning
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiencastan committed Sep 21, 2023
1 parent f1c906a commit 191663f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion meshroom/ui/qml/Viewer/SequencePlayer.qml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,11 @@ FloatingPane {

onPlayingChanged: {
syncSelected = !playing;
viewer.playback(m.playing);
if(playing && (frame + 1 >= sortedViewIds.length))
{
frame = 0;
}
viewer.playback(playing);
}
}

Expand Down

0 comments on commit 191663f

Please sign in to comment.