only print information about cache hits if debugging is on

This commit is contained in:
Florian Larysch 2015-11-12 00:54:26 +01:00
parent 4c0a2e0748
commit 925c0b31f4

View file

@ -96,6 +96,7 @@ def rendertask(task):
frame = tuple(frame)
if frame in cache:
if debug:
print("cache hit, reusing frame {0}".format(cache[frame]))
framedir = task.workdir + "/.frames/"