Commit cce6cb4b authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix loop zone broken regression

Fixes #483
parent c28eb54c
......@@ -686,7 +686,7 @@ bool GLWidget::checkFrameNumber(int pos, int offset, bool isPlaying)
m_proxy->positionFromConsumer(pos, isPlaying);
int maxPos = m_producer->get_int("out");
if (m_isLoopMode || m_isZoneMode) {
if (!isPlaying && pos >= maxPos) {
if (isPlaying && pos >= maxPos) {
m_consumer->purge();
if (!m_isLoopMode) {
return false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment