mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-07-11 18:55:26 -04:00
Don't crash on empty render(times)
This commit is contained in:
@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user