reset statistics after a rendering when using the command line executable
parent
b27a81f71b
commit
131c330526
|
@ -371,6 +371,8 @@ int mitsuba_app(int argc, char **argv) {
|
||||||
thr->start();
|
thr->start();
|
||||||
|
|
||||||
renderQueue->waitLeft(numParallelScenes-1);
|
renderQueue->waitLeft(numParallelScenes-1);
|
||||||
|
if (i+1 < argc && numParallelScenes == 1)
|
||||||
|
Statistics::getInstance()->resetAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Wait for all render processes to finish */
|
/* Wait for all render processes to finish */
|
||||||
|
|
Loading…
Reference in New Issue