mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-06 10:18:42 +02:00
[ui] SequencePlayer: play on last frame restart from the beginning
This commit is contained in:
parent
f1c906ad4f
commit
191663f471
1 changed files with 5 additions and 1 deletions
|
@ -55,7 +55,11 @@ FloatingPane {
|
||||||
|
|
||||||
onPlayingChanged: {
|
onPlayingChanged: {
|
||||||
syncSelected = !playing;
|
syncSelected = !playing;
|
||||||
viewer.playback(m.playing);
|
if(playing && (frame + 1 >= sortedViewIds.length))
|
||||||
|
{
|
||||||
|
frame = 0;
|
||||||
|
}
|
||||||
|
viewer.playback(playing);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue