reset statistics after a rendering when using the command line executable

metadata
Wenzel Jakob 2014-02-25 15:21:53 +01:00
parent b27a81f71b
commit 131c330526
1 changed files with 2 additions and 0 deletions

View File

@ -371,6 +371,8 @@ int mitsuba_app(int argc, char **argv) {
thr->start();
renderQueue->waitLeft(numParallelScenes-1);
if (i+1 < argc && numParallelScenes == 1)
Statistics::getInstance()->resetAll();
}
/* Wait for all render processes to finish */