Don't crash on empty render(times)

This commit is contained in:
Steven Robertson 2011-10-16 13:44:22 -04:00
parent 0cc904c4f1
commit c4ce3cf4c2

View File

@ -211,6 +211,8 @@ class Animation(object):
between window refreshes while rendering. Otherwise, tasks will be between window refreshes while rendering. Otherwise, tasks will be
piled asynchronously on the card so that it is always under load. piled asynchronously on the card so that it is always under load.
""" """
if times == []:
return
f = self.features f = self.features