mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-02-05 11:40:04 -05:00
Don't crash on empty render(times)
This commit is contained in:
parent
0cc904c4f1
commit
c4ce3cf4c2
@ -211,6 +211,8 @@ class Animation(object):
|
||||
between window refreshes while rendering. Otherwise, tasks will be
|
||||
piled asynchronously on the card so that it is always under load.
|
||||
"""
|
||||
if times == []:
|
||||
return
|
||||
|
||||
f = self.features
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user