diff --git a/src/mitsuba/mitsuba.cpp b/src/mitsuba/mitsuba.cpp index ecee8442..b62dde98 100644 --- a/src/mitsuba/mitsuba.cpp +++ b/src/mitsuba/mitsuba.cpp @@ -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 */