Commit 23ba8033 authored by Matt Pharr's avatar Matt Pharr

Fix progress reporting for MLT bootstrap samples

parent a8c3616c
......@@ -194,7 +194,7 @@ void MLTIntegrator::Render(const Scene &scene) {
L(scene, arena, lightDistr, lightToIndex, sampler, depth, &pRaster).y();
arena.Reset();
}
if ((i + 1 % 256) == 0) progress.Update();
if ((i + 1) % 256 == 0) progress.Update();
}, nBootstrap, chunkSize);
progress.Done();
}
......
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