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

Fix frame number in rendering progress.

Fixes #784
parent 4d13c79f
Pipeline #31823 passed with stage
in 20 minutes and 18 seconds
......@@ -118,7 +118,7 @@ void RenderJob::receivedStderr()
m_logstream << result;
} else {
int progress = result.section(QLatin1Char(' '), -1).toInt();
int frame = result.section(QLatin1Char(','), 1).section(QLatin1Char(' '), -1).toInt();
int frame = result.section(QLatin1Char(','), 0, 0).section(QLatin1Char(' '), -1).toInt();
if (progress <= m_progress || progress <= 0 || progress > 100) {
return;
}
......
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