Fix editing effects, resizing clip breaks loop play.

Fixes #293
parent 98f77f0f
......@@ -690,7 +690,7 @@ bool GLWidget::checkFrameNumber(int pos, int offset, bool isPlaying)
{
const double speed = m_producer->get_speed();
m_proxy->positionFromConsumer(pos, isPlaying);
int maxPos = m_producer->get_int("out");
int maxPos = (m_isZoneMode || m_isLoopMode) ? m_proxy->zoneOut() : m_producer->get_int("out");
if (m_isLoopMode || m_isZoneMode) {
if (isPlaying && pos >= maxPos) {
m_consumer->purge();
......
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